Upgrade isort to v5.5.4
This commit is contained in:
parent
db119ea776
commit
a67805fcff
2 changed files with 4 additions and 4 deletions
|
@ -527,11 +527,11 @@ def _install_packages(session: Session, *packages_or_pip_args: str, **kwargs) ->
|
|||
|
||||
|
||||
# TODO (isort): Remove this fix after
|
||||
# upgrading to isort ^5.3.0 in pyproject.toml.
|
||||
# upgrading to isort ^5.5.4 in pyproject.toml.
|
||||
@contextlib.contextmanager
|
||||
def _isort_fix(session):
|
||||
"""Temporarily upgrade to isort 5.3.0."""
|
||||
session.install('isort==5.3.0')
|
||||
"""Temporarily upgrade to isort 5.5.4."""
|
||||
session.install('isort==5.5.4')
|
||||
try:
|
||||
yield
|
||||
finally:
|
||||
|
|
|
@ -59,7 +59,7 @@ pre-commit = "^2.6.0"
|
|||
# Code Formatters
|
||||
autoflake = "^1.3.1"
|
||||
black = "^19.10b0"
|
||||
isort = "^4.3.21" # TODO (isort): not ^5.2.2 due to pylint and wemake-python-styleguide
|
||||
isort = "^4.3.21" # TODO (isort): not ^5.5.4 due to wemake-python-styleguide
|
||||
|
||||
# (Static) Code Analyzers
|
||||
flake8 = "^3.8.3"
|
||||
|
|
Loading…
Reference in a new issue