2014-08-12 10:10:52 -04:00
|
|
|
[build_sphinx]
|
|
|
|
source-dir = docs/sphinx
|
|
|
|
build-dir = docs/build
|
|
|
|
all_files = 1
|
|
|
|
|
|
|
|
[trial]
|
|
|
|
test_suite = tests
|
2015-01-22 09:32:51 -05:00
|
|
|
|
|
|
|
[check-manifest]
|
|
|
|
ignore =
|
|
|
|
contrib
|
|
|
|
contrib/*
|
|
|
|
docs/*
|
|
|
|
pylint.cfg
|
|
|
|
tox.ini
|
2015-08-13 08:12:33 -04:00
|
|
|
|
2018-07-18 15:55:37 -04:00
|
|
|
[pep8]
|
2015-08-13 08:12:33 -04:00
|
|
|
max-line-length = 90
|
2018-07-18 15:55:37 -04:00
|
|
|
# W503 requires that binary operators be at the end, not start, of lines. Erik
|
|
|
|
# doesn't like it. E203 is contrary to PEP8.
|
2018-06-05 10:13:57 -04:00
|
|
|
ignore = W503,E203
|
2018-07-09 02:05:21 -04:00
|
|
|
|
2018-07-18 15:55:37 -04:00
|
|
|
[flake8]
|
|
|
|
# note that flake8 inherits the "ignore" settings from "pep8" (because it uses
|
|
|
|
# pep8 to do those checks), but not the "max-line-length" setting
|
|
|
|
max-line-length = 90
|
|
|
|
|
2018-07-09 02:05:21 -04:00
|
|
|
[isort]
|
|
|
|
line_length = 89
|
|
|
|
not_skip = __init__.py
|
|
|
|
sections=FUTURE,STDLIB,COMPAT,THIRDPARTY,TWISTED,FIRSTPARTY,TESTS,LOCALFOLDER
|
|
|
|
default_section=THIRDPARTY
|
|
|
|
known_first_party = synapse
|
|
|
|
known_tests=tests
|
|
|
|
known_compat = mock,six
|
|
|
|
known_twisted=twisted,OpenSSL
|
|
|
|
multi_line_output=3
|
|
|
|
include_trailing_comma=true
|
2018-07-19 06:03:33 -04:00
|
|
|
combine_as_imports=true
|