Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update isort to v5.7.0 (#9222)
Browse files Browse the repository at this point in the history
This new version no longer has the problem of adding/removing a blank line in `.pyi` files, which black disagrees with. This would cause `isort` to slightly modify `.pyi` files, before `black` would subsequently modify back directly afterwards.

Relevant `isort` issue: PyCQA/isort#1284
  • Loading branch information
anoadragon453 committed Jan 26, 2021
1 parent e5b659e commit e74bb96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/9222.misc
@@ -0,0 +1 @@
Update `isort` to v5.7.0 to bypass a bug where it would disagree with `black` about formatting.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -96,7 +96,7 @@ def exec_file(path_segments):
#
# We pin black so that our tests don't start failing on new releases.
CONDITIONAL_REQUIREMENTS["lint"] = [
"isort==5.0.3",
"isort==5.7.0",
"black==19.10b0",
"flake8-comprehensions",
"flake8",
Expand Down

0 comments on commit e74bb96

Please sign in to comment.