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

Pin isort version in CI #679

Merged
merged 2 commits into from
Mar 7, 2019
Merged

Conversation

Eric-Arellano
Copy link
Contributor

Problem

isort had a regression in 4.3.11 that it no longer respects skip_glob as we intended. See PyCQA/isort#885.

This motivated the problem, although there is reason to pin isort regardless of this regression. Linters and autoformatters often change their behavior with new releases. When this happens, we don't want someone's PR to fail due to an unrelated upstream change in that tool's behavior.

Solution

Pin isort to 4.3.10, the most recent release that does not have the skip_glob issue. Once this issue gets resolved, the version can be upgraded.

Also fix bad imports that weren't caught with our original isort runs.

Finally, convert CLI flags to use long names.

@Eric-Arellano Eric-Arellano merged commit dbf92a9 into pex-tool:master Mar 7, 2019
@Eric-Arellano Eric-Arellano deleted the pin-isort branch March 7, 2019 17:49
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.

2 participants