diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-07-09 16:05:21 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 16:05:21 +1000 |
commit | 2ee9f1bd1a3b644afd27fef8aea76cca93a1c9e5 (patch) | |
tree | f8ed3b7ba3b2c722b4a5b94743e7d23aa95fa07f | |
parent | changelog (diff) | |
download | synapse-2ee9f1bd1a3b644afd27fef8aea76cca93a1c9e5.tar.xz |
Add an isort configuration (#3463)
Diffstat (limited to '')
-rw-r--r-- | changelog.d/3463.misc | 0 | ||||
-rw-r--r-- | setup.cfg | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/changelog.d/3463.misc b/changelog.d/3463.misc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/changelog.d/3463.misc diff --git a/setup.cfg b/setup.cfg index fa6f2d1ce4..9b5b75cd60 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,3 +19,15 @@ max-line-length = 90 # W503 requires that binary operators be at the end, not start, of lines. Erik doesn't like it. # E203 is contrary to PEP8. ignore = W503,E203 + +[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 |