-
Notifications
You must be signed in to change notification settings - Fork 156
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
How to ignore all test_*.py files? #260
Comments
Maybe you need |
@noorul is correct. You can also use something like |
Thanks, this was helpful :-) but I personally don't quite understand why in my situation I need |
Thanks for the report! The |
I'm curious about the rationale for this design decision. It seems rather counterintuitive and error-prone to me; it may lead to things like people with different usernames (and thus different home directories) getting different warnings unless the globs are carefully crafted. |
@sliedes Can you provide a concrete problematic example for this, please? Which behaviour would you expect for |
It just feels very surprising to me; normally, in my experience projects are developed so that you have some "project directory", perhaps a checked out repository, and you'd in my view want the checks to run deterministically inside it regardless of its location in the filesystem. I have not encountered any pathological examples in practice (well, I only started looking into vulture last week), but I could imagine patterns written with less care like (borrowing from the discussion above) --exclude It just seems like a needless pitfall to me. :) |
Thanks for the explanation! I hope that #310 will improve the situation. |
The exclude argument does not appear to work the way I was expecting
The text was updated successfully, but these errors were encountered: