linter icon indicating copy to clipboard operation
linter copied to clipboard

disabled providers list not respected

Open avikarto opened this issue 3 years ago • 7 comments

Since recently updating atom-ide-*, the linter now provides alerts for pyflakes, pycodestyle, and mccabe in addition to flake8 (which is all I saw before this update and all that I want to see). Listing "pyflakes, pycodestyle, mccabe" in the "disabled providers" section of Linter settings does not disable these additional checks.

macOS Mojave 10.14.6 Atom 1.57.0 Linter 3.4.0

Screen Shot 2021-07-21 at 2 17 55 PM Screen Shot 2021-07-21 at 2 17 32 PM

avikarto avatar Jul 21 '21 18:07 avikarto

In your dev tools do you see a message like this?

`Linter package: disabled linter providers: ${disabledProviders}`

aminya avatar Jul 21 '21 18:07 aminya

In your dev tools do you see a message like this?

`Linter package: disabled linter providers: ${disabledProviders}`

Yes: "Linter package: disabled linter providers: pyflakes,pycodestyle,mccabe /Users/user_name/.atom/packages/linter/dist/index.js:1"

avikarto avatar Jul 22 '21 12:07 avikarto

This means that the providers are being ignored by the Linter. Not sure why you still keep seeing them.

aminya avatar Jul 22 '21 12:07 aminya

This means that the providers are being ignored by the Linter. Not sure why you still keep seeing them.

Is there anything else I can provide to help track it down? The output of atom-ide-diagnostics correctly shows only flake8 issues.

avikarto avatar Jul 22 '21 13:07 avikarto

Can confirm this behavior - I'm experiencing the exact same bug on Linux Mint 20/Atom 1.58.0/Linter 3.4.0. Dev tools output also includes the correct "Linter package: disabled linter providers" message, but pycodestyle warnings are still being shown. image image image

Haplo-Dragon avatar Aug 03 '21 17:08 Haplo-Dragon

For ide-python, I released a new version (and another one is coming if you are on the old pyls). You can disable the providers from inside ide-python directly.

aminya avatar Aug 10 '21 09:08 aminya

Hello. Have same problem. Use ide-c-cpp. Provider ccls from it not ignored

Screenshot from 2022-04-14 20-57-14 :

vydramain avatar Apr 14 '22 15:04 vydramain