1
0

setup.cfg 827 B

1234567891011121314151617181920212223242526272829303132
  1. [trial]
  2. test_suite = tests
  3. [check-manifest]
  4. ignore =
  5. .git-blame-ignore-revs
  6. contrib
  7. contrib/*
  8. docs/*
  9. pylint.cfg
  10. tox.ini
  11. [flake8]
  12. # see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
  13. # for error codes. The ones we ignore are:
  14. # W503: line break before binary operator
  15. # W504: line break after binary operator
  16. # E203: whitespace before ':' (which is contrary to pep8?)
  17. # E731: do not assign a lambda expression, use a def
  18. # E501: Line too long (black enforces this for us)
  19. ignore=W503,W504,E203,E731,E501
  20. [isort]
  21. line_length = 88
  22. sections=FUTURE,STDLIB,THIRDPARTY,TWISTED,FIRSTPARTY,TESTS,LOCALFOLDER
  23. default_section=THIRDPARTY
  24. known_first_party = synapse
  25. known_tests=tests
  26. known_twisted=twisted,OpenSSL
  27. multi_line_output=3
  28. include_trailing_comma=true
  29. combine_as_imports=true