-
Notifications
You must be signed in to change notification settings - Fork 17
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
Exclude directories from analysis #226
Comments
Thanks for reporting! I'm wondering if it would be "safe" to always ignore For now I added this issue to our roadmap (#195). |
I think it would be safe to use the .gitignore in this case. Thanks for considering this! |
Note to selves: When we get around to implementing a better mechanism for ignoring files, please take #326 (comment) into consideration; in particular: consider if there are cases where the search for code/deps/pyenv sources differ in what paths should be ignored. For example: it might make sense for code and deps to ignore hidden (dot) dirs, while the pyenv search should descend into these dirs? |
I second this issues and would like to configuration argument that would accept globs (or just simple paths) to ignore to allow a little more flexibility. |
+1 for this feature. I've encountered the same issue when running FawltyDeps in a project which had a quick, ad-hoc virtual environment created in the project directory for experimentation purposes. |
With the v0.15.0 release, we now support We don't (yet) exclude I'm currently working on a |
Is your feature request related to a problem? Please describe.
When I tried to run fawltydeps for the first time, it caught some stuff in my project's
dist
andbuild
directories. E.g.,dist
contains a requirements.txt generated from my Poetry config.Describe the solution you'd like
These directories could be ignored entirely, likely by default but also by configuration.
Describe alternatives you've considered
I could run
make clean
to delete these directories before running fawltydeps, but that'd cost extra time later on my workstation. It'd also necessitate running fawltydeps in CI before anything is generated.The text was updated successfully, but these errors were encountered: