Timeline for noqa does not suppress the warning for flake8
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 10, 2021 at 11:39 | vote | accept | alper | ||
Feb 10, 2021 at 11:39 | comment | added | alper |
# type: ignore works on my end but still # noqa does not with all the suggestions I tried :-(
|
|
Feb 9, 2021 at 15:48 | comment | added | Ian | Try from command line my suggestion posted on Dec 11'20 in comments on your question and see the result. BTW, seems to me flake8 is not inserted in flycheck-pycheckers-checkers. Take into account the #noqa must be completed with error numbers, there are many cases when it is not recognised; there is also a flake8-noqa package installable with pip which checks for correct #noqa. One last word: if still problems with this, a wise decision is to install lsp + server python-language-server (with pip). | |
Feb 8, 2021 at 20:53 | comment | added | alper |
I have tried from subprocess import popen, PIPE but still facing with the same error message. github.com/jacktasia/dumb-jump can jump into right close() function but seems like its not detected by the flake8
|
|
Jan 28, 2021 at 14:21 | history | answered | Ian | CC BY-SA 4.0 |