-
Notifications
You must be signed in to change notification settings - Fork 22
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
--folders-to-skip Doesn't seem to work with path delimiters #71
Comments
I also have the same problem, I can only exclude subdirectories of the directory I execute pygount from. The following command works just fine:
However, this includes all subdirectories of my project, including frontend/node_modules:
|
Same problem Example, I want to exclude this file by excluding /libs/ : a/b/c/libs/js/tom.js
|
That's how the current implementation works, which is not a good thing. There also is a request to support the Probably this would need a major rework of some not very interesting code, so it's increasingly unlikely I will look into it. At some point I will implement #20, which is what most people including myself need. While doing that, it would be feasible to rethink the ignore logic and go for some breaking changes. |
Hi. I have a subfolder that I want to exclude that has the same name as a subfolder in another tree which I do want to include. In this case, I can't just use the name in the --folders-to-skip option like this:
pygount --folders-to-skip=[...]com_arc
because both "com_arc" directories in the separate trees get excluded. When I do this:
pygount --folders-to-skip=[...]ip_project/com_arc
nothing gets excluded. I have tried a lot of different things with wildcards and using [regex]. Seems like a bug but I'm hoping there's some trick I'm missing.
Thanks,
Wes
The text was updated successfully, but these errors were encountered: