mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-07 07:17:53 -05:00
Update isort to v5.7.0 (#9222)
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: https://github.com/pycqa/isort/issues/1284
This commit is contained in:
parent
e5b659e9e1
commit
e74bb96733
1
changelog.d/9222.misc
Normal file
1
changelog.d/9222.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Update `isort` to v5.7.0 to bypass a bug where it would disagree with `black` about formatting.
|
2
setup.py
2
setup.py
@ -96,7 +96,7 @@ CONDITIONAL_REQUIREMENTS["all"] = list(ALL_OPTIONAL_REQUIREMENTS)
|
|||||||
#
|
#
|
||||||
# We pin black so that our tests don't start failing on new releases.
|
# We pin black so that our tests don't start failing on new releases.
|
||||||
CONDITIONAL_REQUIREMENTS["lint"] = [
|
CONDITIONAL_REQUIREMENTS["lint"] = [
|
||||||
"isort==5.0.3",
|
"isort==5.7.0",
|
||||||
"black==19.10b0",
|
"black==19.10b0",
|
||||||
"flake8-comprehensions",
|
"flake8-comprehensions",
|
||||||
"flake8",
|
"flake8",
|
||||||
|
Loading…
Reference in New Issue
Block a user