setup.cfg 827 B

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