upgrade to isort5 (#4399)

* Imports are no longer moved to top.
* `seed-isort-config` is no longer needed.
* Has a `black`-compatible profile/config.
* Also `isorts` the imports anywhere in the code
  (not just at the top).

Also bumps `restyled-isort` to newest version
This commit is contained in:
Saugat Pachhai
2020-08-17 19:59:40 +05:45
committed by GitHub
parent 31e9cc2e40
commit c4bc4c83e8
39 changed files with 82 additions and 70 deletions
+1 -1
View File
@@ -16,8 +16,8 @@ class TestRequestHandler(RangeRequestHandler):
super().__init__(*args, **kwargs)
def translate_path(self, path):
import urllib
import posixpath
import urllib
# NOTE: `directory` was introduced in 3.7
if sys.version_info >= (3, 7):