-
-
Notifications
You must be signed in to change notification settings - Fork 612
Open
Description
I was checking here if there's a way for isort to ignore the files from my .gitignore without requiring git installed (using it in a Jenkins pipeline with the --check flag). I stumbled upon git_ignore which looked promising and I had two issues with it:
- It didn't mention that it's only working when
skip_gitignoreisTruewhich seems to be the case when you check the code - It mentions that it should be set to
Truebut the actual value it expects is adictso it's very confusing how you should be using it
I think the documentation can be improved to make the previous two points clearer.
And a little bit of an offtopic: You think a feature to ignore the contents of .gitignore using basic regex instead of relying of git to be present is a good idea? I know for CI that would be great cause you usually use slim images that don't have a lot of system dependencies installed. Should we create an issue for this as well?
Metadata
Metadata
Assignees
Labels
No labels