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

linter-mypy generating many duplicate errors #20

Closed
Askaholic opened this issue May 7, 2019 · 2 comments
Closed

linter-mypy generating many duplicate errors #20

Askaholic opened this issue May 7, 2019 · 2 comments

Comments

@Askaholic
Copy link
Contributor

Askaholic commented May 7, 2019

For some reason many of my mypy warnings show up multiple times. Any idea why this would be happening? I am using mypy in conjunction with the linter-flake8 package.

Imgur

Atom: 1.33.1
OS: Ubuntu 18
Python: 3.6
Pip:

mypy==0.701
mypy-extensions==0.4.1
@elarivie
Copy link
Owner

Hello @Askaholic

I have seen similar behavior with other linter like for example "Flake8":

image

It may be related to the following bug steelbrain/linter#1450 from the package "Linter" which describe a feature about filtering duplicate warnings.

But I think that the real root cause is some kind of memory leak or race condition within the "linter" package where warnings which are no more needed are nevertheless kept in the list because a Workaround: to remove duplicate lint warning is to close and re-open atom. This seems to reset the internal memory of the "Linter" package and duplicate/no more needed warnings disappear.

@elarivie
Copy link
Owner

Bug not directly related to linter-mypy, closing this issue...

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

No branches or pull requests

2 participants