tophat / codewatch

[deprecated] Monitor and manage deeply customizable metrics about your python code using ASTs
https://codewatch.io
Apache License 2.0
38 stars 3 forks source link

Don't traverse hidden directories/files by defaults #95

Closed noahnu closed 5 years ago

noahnu commented 5 years ago

Is your feature request related to a problem? Please describe.

The default directory and file filters do not capture some basic cases.

Describe the solution you'd like

Add rules to default directory & file filters to ignore any file or directory that begins with a ".", excluding current directory (this captures ".git")

Describe alternatives you've considered

By default (or via opt-out option outside of default dir/file filter system), parse and then ignore any files/dirs that match a .gitignore rule.

Additional context

Alternative is now possible to implement due to https://github.com/tophat/codewatch/pull/94