-
-
Notifications
You must be signed in to change notification settings - Fork 584
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
Current version skips every file on Travis #873
Comments
I think the solution would be to avoid skipping paths if the path is passed explicitly on the command line. When no path is passed, assume the PWD is explicit. This way CC @akx |
This also affects the Nix build sandbox, which uses |
Should be fixed in this pull request: #878 |
This should be fixed in hotfix release 4.3.11: https://github.com/timothycrosley/isort/releases/tag/4.3.11 Thanks for reporting! ~Timothy |
This PR #810 added a new check to skip some files/directories considered unsafe by default.
The regex excludes anything with
build
in the path, which usually would be ok.However, Travis does its job by cloning to
/home/travis/build/
.This effectively causes every file to be skipped by isort when running on Travis by default.
Using
--unsafe
orsafety_excludes=False
in the config solves the issue.The text was updated successfully, but these errors were encountered: