2014-08-12 14:10:52 +00:00
|
|
|
[build_sphinx]
|
|
|
|
source-dir = docs/sphinx
|
|
|
|
build-dir = docs/build
|
|
|
|
all_files = 1
|
|
|
|
|
|
|
|
[trial]
|
|
|
|
test_suite = tests
|
2015-01-22 14:32:51 +00:00
|
|
|
|
|
|
|
[check-manifest]
|
|
|
|
ignore =
|
|
|
|
contrib
|
|
|
|
contrib/*
|
|
|
|
docs/*
|
|
|
|
pylint.cfg
|
|
|
|
tox.ini
|
2015-08-13 12:12:33 +00:00
|
|
|
|
2018-07-18 19:55:37 +00:00
|
|
|
[pep8]
|
2015-08-13 12:12:33 +00:00
|
|
|
max-line-length = 90
|
2018-07-18 19:55:37 +00: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 14:13:57 +00:00
|
|
|
ignore = W503,E203
|
2018-07-09 06:05:21 +00:00
|
|
|
|
2018-07-18 19:55:37 +00: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 06:05:21 +00: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
|