Skip to content

Check full file path when testing if a file is excluded#186

Merged
florentx merged 1 commit intoPyCQA:masterfrom
timleslie:master
Apr 16, 2013
Merged

Check full file path when testing if a file is excluded#186
florentx merged 1 commit intoPyCQA:masterfrom
timleslie:master

Conversation

@timleslie
Copy link
Copy Markdown
Contributor

When testing a large package I noticed that adding the file foo/bar/baz.py to my "excluded" list and then running

pep8 foo

caused baz.py to still be checked. The reason is that self.excluded() is only called on the base filename, not the complete path. This pull request fixes this behaviour.

florentx added a commit that referenced this pull request Apr 16, 2013
Check full file path when testing if a file is excluded
@florentx florentx merged commit 1c131d5 into PyCQA:master Apr 16, 2013
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

Successfully merging this pull request may close these issues.

2 participants