Isort preparations (#16555)
* Don't treat typing as an "in-between" module for import order That was a < 3.5 era thing. * Tighten scope of some pylint unused-import disables To avoid isort moving a top level one around, undesirably broadening its scope.
This commit is contained in:
1 parent
a059cc860a
commit
ee696643cd
26 files changed
+10
-35
No files matched your search
@@ -32,6 +32,4 @@ indent = " "
|
||||
not_skip = __init__.py
|
||||
# will group `import x` and `from x import` of the same module.
|
||||
force_sort_within_sections = true
|
||||
# typing is stdlib on py35 but 3rd party on py34, let it hang in between
|
||||
known_inbetweens = typing
|
||||
sections = FUTURE,STDLIB,INBETWEENS,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
|
||||
Reference in new issue
Block a user