linter-flake8 icon indicating copy to clipboard operation
linter-flake8 copied to clipboard

DAR, N and WPS errors are ignored

Open moldyn-nagel opened this issue 5 years ago • 3 comments

atom: 1.40.0 linter-flake8: 2.4.0 with default settings OS: Debian 10, 4.19 Python: 3.7.3

I am using the package wemake-python-styleguide for enhanced flake8. All errors beside (DAR***, N*** and WPS***) are shown correctly within atom. But if I am running just flake8 in the console it shows me all errors. Do I need to include them manually in the linter-flake8 settings? Thank you for your help.

moldyn-nagel avatar Jan 02 '20 16:01 moldyn-nagel

Same, not only for these error types

atom: 1.45.0 *64 linter-flake8: 2.4.0 with default settings OS: Ubuntu 18.10 Python: 3.8.0

flake8 --version
3.7.9 (flake8-annotations-complexity: 0.0.2, flake8-blind-except: 0.1.1, flake8-broken-line: 0.1.1, flake8-bugbear: 20.1.4, flake8-class-attributes-order: 0.1.0, flake8-comprehensions: 3.2.2, flake8-darglint: 0.4.1, flake8-debugger: 3.2.1, flake8-docstrings: 1.5.0, pydocstyle: 5.0.1, flake8-eradicate: 0.3.0, flake8-executable: 2.0.3, flake8-string-format: 0.3.0, flake8-unused-arguments: 0.0.3, flake8_builtins: 1.4.1, flake8_coding: 1.3.2, flake8_commas: 2.0.0, flake8_pep3101: 1.2.1, flake8_quotes: 2.1.1, mccabe: 0.6.1, naming: 0.4.1, pycodestyle: 2.5.0, pyflakes: 2.1.1, rst-docstrings: 0.0.13) CPython 3.8.0 on Linux
which flake8
/home/profchep/.local/bin/flake8

@moldyn-nagel

All errors beside (DAR***, N*** and WPS***) are shown correctly within atom.

You may wanted to say not shown but certainly, everyone has understood.

When I run flake8 in bash terminal, some errors are shown but not in atom linter console For example, errors for following flake8 plugins are not displayed in atom:

  • flake8-eradicate (error E800)
  • flake8-executable (error EXE001)

I took care about flake8 path in linter-flake8 (put just flake8 or absolute path, no changes)

It is not an output issue as all these errors are output at stdout

Thank you for your help, I think this issue is the same for several flake8 plugins

vepain avatar Apr 03 '20 09:04 vepain

I'm experiencing a similar behavior with flake8 plugins that generate error codes having more than one leading letter, namely flake8-rst-docstrings (pattern RST*) and flake8-use-fstring (pattern FS*). All the single-letter prefix plugins seem to show up fine.

Atom    : 1.51.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0
OS      : Ubuntu 20.04
Python  : 3.8.5

zaneselvans avatar Sep 29 '20 17:09 zaneselvans

I can recommend to simply apply the change, suggested in #731, manually. Changing a single line, solves all issues.

braniii avatar Sep 29 '20 20:09 braniii