Adjust isort options and invocation to work on isort 5.0.0 (#1890)

isort 5.0.0 removed command line option `recursive` and removed config option `not_skip`.
This commit is contained in:
Ashley Sommer 2020-07-07 15:43:33 +10:00 committed by GitHub
parent 008b8ac394
commit 71a08382d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -11,11 +11,9 @@ line_length = 79
lines_after_imports = 2
lines_between_types = 1
multi_line_output = 3
not_skip = __init__.py
[version]
current_version = 19.12.0
files = sanic/__version__.py
current_version_pattern = __version__ = "{current_version}"
new_version_pattern = __version__ = "{new_version}"

View File

@ -30,13 +30,13 @@ commands =
deps =
flake8
black
isort
isort>=5.0.0
bandit
commands =
flake8 sanic
black --config ./.black.toml --check --verbose sanic/
isort --check-only --recursive sanic
isort --check-only sanic
[testenv:type-checking]
deps =