Skip to content

Commit

Permalink
Allow isort v5.x as the default version
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf committed Jul 20, 2020
1 parent 669b5f3 commit 9175808
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .isort.cfg
Expand Up @@ -9,5 +9,4 @@ force_grid_wrap=0
use_parentheses=True

known_first_party=internal_backend,pants,pants_test
default_section=THIRDPARTY
not_skip=__init__.py
default_section=THIRDPARTY
3 changes: 1 addition & 2 deletions examples/.isort.cfg
Expand Up @@ -9,5 +9,4 @@ force_grid_wrap=0
use_parentheses=True

known_first_party=example
default_section=THIRDPARTY
not_skip=__init__.py
default_section=THIRDPARTY
2 changes: 1 addition & 1 deletion src/python/pants/backend/python/lint/isort/subsystem.py
Expand Up @@ -9,7 +9,7 @@ class Isort(PythonToolBase):
"""The Python import sorter tool (https://timothycrosley.github.io/isort/)."""

options_scope = "isort"
default_version = "isort>=4.3.21,<4.4"
default_version = "isort>=5.0.0,<6.0"
default_extra_requirements = ["setuptools<45"] # NB: `<45` is for Python 2 support
default_entry_point = "isort.main"

Expand Down
1 change: 0 additions & 1 deletion src/python/pants/backend/python/rules/coverage.py
Expand Up @@ -48,7 +48,6 @@
from pants.option.global_options import GlobMatchErrorBehavior
from pants.python.python_setup import PythonSetup


"""
An overview:
Expand Down

0 comments on commit 9175808

Please sign in to comment.