setup.cfg 854 B

123456789101112131415161718192021222324252627282930313233
  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,COMPAT,THIRDPARTY,TWISTED,FIRSTPARTY,TESTS,LOCALFOLDER
  23. default_section=THIRDPARTY
  24. known_first_party = synapse
  25. known_tests=tests
  26. known_compat = mock
  27. known_twisted=twisted,OpenSSL
  28. multi_line_output=3
  29. include_trailing_comma=true
  30. combine_as_imports=true