Skip to content
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 files and dirs in .landscape.yaml? #25

Closed
rafalp opened this issue Jan 22, 2014 · 5 comments
Closed

Exclude files and dirs in .landscape.yaml? #25

rafalp opened this issue Jan 22, 2014 · 5 comments

Comments

@rafalp
Copy link

rafalp commented Jan 22, 2014

It would be nice if I could exclude certain directories from landscape reports.

For example I'm using Sphinx for docs and landscape tests it's autogenerated conf.py:

https://landscape.io/github/rafalp/Misago/134/modules/docs/conf.py#L15

I would like to exclude this form process, is it possible?

@carlio
Copy link
Member

carlio commented Jan 25, 2014

Is is not currently possible, but this definitely would be a useful feature, so I will work on getting it in soon.

@nijel
Copy link

nijel commented Feb 2, 2014

👍 Also being dragged down by generated code such as South migrations.

@nijel
Copy link

nijel commented Feb 26, 2014

South migrations now should be ignored by prospector for Django projects, see prospector-dev/prospector#12

@carlio
Copy link
Member

carlio commented Feb 26, 2014

There are now two more configuration options: ignore-paths and ignore-patterns. These allow you to ignore directories and files based on their path or a regular expression. See the docs (at the bottom) for more info: http://landscape.io/pages/docs

@carlio carlio closed this as completed Feb 26, 2014
@carlio
Copy link
Member

carlio commented Feb 26, 2014

PS @nijel weblate went from 68% to 93% as a result of this fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants