You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pylama [mypy] linter messages don't appear in the "Problems" tab #15609
I am not 100% it's related, but in my case it doesn't work no matter what, even without mypy. I was able to trace down the problem to the default parser and started worked on a PR here #18339
I will send an updated when I have successfully tested, will test mypy too.
UPDATE:
Althought I managed to fix the general output for me, for pylama, the mypy output has a slightly different output entry.
For instance:
# pylama/pycodestyle output line
src/lib/test_py.py:23:60 [E] E226 missing whitespace around arithmetic operator [pycodestyle]
# pylama/mypy output line
src/test_py.py:7:4 [E] Argument 1 to "fn" has incompatible type "str"; expected "int" [mypy]
notice how the mypy output is missing the error code, something line E226. Now I could also add that to my PR, making it optional in the regex, but I am not 100% sure whether that's the right course of action. Might take a look at the pylama repo itself.
Activity
karthiknadig commentedon Mar 12, 2021
I am able to repro this, with following settings:
nicolamarella commentedon Jan 22, 2022
I am not 100% it's related, but in my case it doesn't work no matter what, even without mypy. I was able to trace down the problem to the default parser and started worked on a PR here #18339
I will send an updated when I have successfully tested, will test mypy too.
UPDATE:
Althought I managed to fix the general output for me, for pylama, the mypy output has a slightly different output entry.
For instance:
notice how the mypy output is missing the error code, something line
E226. Now I could also add that to my PR, making it optional in the regex, but I am not 100% sure whether that's the right course of action. Might take a look at the pylama repo itself.Tested with
final note, this is my settings.json