timothycrosley / deprecated.frosted

A simple program which checks Python source files for errors.
MIT License
250 stars 23 forks source link

Is it possible to skip files with directory name? #25

Closed voltidev closed 10 years ago

voltidev commented 10 years ago

It would be great to skip files with a directory name as in .gitignore

[settings]
skip=migrations

I do:

frosted project/apps/**/*.py

I get a lot of migration files checked (project/apps/payments/migrations/0017_.py) How can I ignore them?

This way is also could be intuitive:

frosted project/apps/**/*.py --skip migrations/*.py
timothycrosley commented 10 years ago

I agree, this would be a great feature. Will add it in before the next release.

Thanks!

~Timothy

timothycrosley commented 10 years ago

Support for skipping entire directories has been added to in version 1.2.1. Thanks again for suggesting this improvement!

~Timothy