Merge 9634-isort: Add an isort configuration file

Author: hawkowl
Reviewers: twm, wsanchez
Fixes: ticket:9634
This commit is contained in:
Amber Brown 2019-12-18 14:06:36 +11:00 committed by GitHub
parent c7e7e20c87
commit 9eb36831c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -50,3 +50,16 @@
directory = "misc"
name = "Misc"
showcontent = false
[tool.isort]
line_length = 79
sections = "FUTURE,STDLIB,ZOPE,OPENSSL,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
default_section = "THIRDPARTY"
no_lines_before = "LOCALFOLDER"
known_first_party = "twisted"
known_zope = "zope"
known_openssl = "OpenSSL"
multi_line_output = 3
include_trailing_comma = true
combine_as_imports = true
skip = "src/twisted/logger/__init__.py,src/twisted/internet/reactor.py"

View File