Skip to content

Fix #240: Allow errors on empty files#241

Merged
florentx merged 1 commit intoPyCQA:masterfrom
deshipu:master
Mar 22, 2014
Merged

Fix #240: Allow errors on empty files#241
florentx merged 1 commit intoPyCQA:masterfrom
deshipu:master

Conversation

@deshipu
Copy link
Copy Markdown
Contributor

@deshipu deshipu commented Nov 7, 2013

The noqa check crashes when the file is empty. The soultion is to not
check for noqa when the file is empty -- if it's empty, the user might
not possibly put any #noqa comments in there.

The noqa check crashes when the file is empty. The soultion is to not
check for noqa when the file is empty -- if it's empty, the user might
not possibly put any #noqa comments in there.
florentx added a commit that referenced this pull request Mar 22, 2014
Fix #240: Allow errors on empty files
@florentx florentx merged commit dd06247 into PyCQA:master Mar 22, 2014
@florentx
Copy link
Copy Markdown
Contributor

Thank you

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