Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disabled providers list not respected #1737

Open
avikarto opened this issue Jul 21, 2021 · 7 comments
Open

disabled providers list not respected #1737

avikarto opened this issue Jul 21, 2021 · 7 comments

Comments

@avikarto
Copy link

avikarto commented Jul 21, 2021

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

@aminya
Copy link
Collaborator

aminya commented Jul 21, 2021

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

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

@avikarto
Copy link
Author

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"

@aminya
Copy link
Collaborator

aminya commented Jul 22, 2021

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

@avikarto
Copy link
Author

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.

@Haplo-Dragon
Copy link

Haplo-Dragon commented Aug 3, 2021

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

@aminya
Copy link
Collaborator

aminya commented Aug 10, 2021

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.

@vydramain
Copy link

vydramain commented Apr 14, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants