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

Having importanize ignore certain files #20

Closed
agamdua opened this issue Oct 17, 2014 · 1 comment
Closed

Having importanize ignore certain files #20

agamdua opened this issue Oct 17, 2014 · 1 comment
Milestone

Comments

@agamdua
Copy link

agamdua commented Oct 17, 2014

This is related to #18 where there is a proposal to add a way to skip certain parts of a file.

It might be nice to have a way to ignore a file completely, similar to .gitignore and such.

This can also be included in the currently implemented .importanizerc as an 'ignore' group, however that may get large over time and the benefits of a key : value notation are not really required.

My personal preference for blanket ignores is similar to what .editorconfig uses

@leo-the-manic
Copy link

Can't speak for the module author, but...

Since importanize takes all the files it will work on as command line arguments, it should be somewhat straightforward to write your own wrapper that does all the ignoring you want, whether that's using find to only run on certain files, using grep -v to ignore specific files, or using git status -s to get a list of all tracked files that haven't been committed yet.

@miki725 miki725 mentioned this issue Oct 28, 2014
@miki725 miki725 added this to the 0.2 milestone Oct 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants