Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to isort 5 #3724

Closed
wants to merge 3 commits into from
Closed

Switch to isort 5 #3724

wants to merge 3 commits into from

Conversation

dbaty
Copy link
Contributor

@dbaty dbaty commented Jul 5, 2020

Description

IMPORTANT: I found out (a bit too late) that isort 5 dropped the compatibility with Python 3.5 (which pylint still supports). So a better change could probably be to support isort 4 and isort 5. I did that in another pull request: #3725.

3 separate commits, the first two are:

  • adapt pylint to support isort 5 only. Because the API of isort 5 is completely new, the new code is NOT compatible with isort 4 anymore.

  • reorder pylint's own import statements to follow new isort 5 rules.

Type of Changes

Type
Adapt to changes in dependencies

Related Issue

Closes #3722

Steps

  • Add yourself to CONTRIBUTORS if you are a new contributor.
  • Add a ChangeLog entry describing what your PR does.

dbaty added 3 commits July 5, 2020 23:49
isort is already a dependency of pytest, there is no need to mention
it explicitly. Except for the "formatting" environment where we want
to pin a specific version to avoid noise when a new version of
isort is released that reports errors.
@dbaty dbaty changed the title Dbaty/isort Switch to isort 5 Jul 5, 2020
@dbaty dbaty mentioned this pull request Jul 5, 2020
2 tasks
@dbaty
Copy link
Contributor Author

dbaty commented Jul 6, 2020

I'll close this one in favor of #3725.

@dbaty dbaty closed this Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support isort 5
1 participant