I have some code that looks like this:
import warnings # noqa isort:skip
warnings.filterwarnings("ignore") # noqa isort:skip
import some
import other
import imports
Up to pycodestyle==2.50, the noqa was honored by pycodestyle ignoring the lines as if they did not exist, and therefore not complaining on the imports below.
On 2.6.0, the noqa does not work anymore and I get an E402 error for every import I have after the warnings line.
Is this the expected behavior (could not find any mention of this in the changelogs) or is this a bug?
I have some code that looks like this:
Up to
pycodestyle==2.50, thenoqawas honored bypycodestyleignoring the lines as if they did not exist, and therefore not complaining on the imports below.On
2.6.0, thenoqadoes not work anymore and I get anE402error for every import I have after the warnings line.Is this the expected behavior (could not find any mention of this in the changelogs) or is this a bug?