Closed bryanforbes closed 1 year ago
Given the following file (blah.py):
blah.py
print( 'Lorem ipsum lorem ipsum Lorem ipsum lorem ipsum Lorem ipsum lorem ipsum Lorem ipsum lorem ipsum ' # noqa: E501 )
And the following .flake8:
.flake8
[flake8] max-line-length = 80 extend-select = NQA1 noqa-require-code = True
The following invocations result in two different outcomes:
$ flake8 blah.py $ cat blah.py | flake8 --stdin-display-name blah.py - blah.py:2:105: NQA102 "# noqa: E501" has no matching violations
It's actually failing on any input from stdin, easy fix. Thanks for the report. Fixed in v1.3.1, up on PyPI shortly.
Given the following file (
blah.py
):And the following
.flake8
:The following invocations result in two different outcomes: