Open karlaspuldaro opened 3 years ago
Is this the same as https://github.com/elyra-ai/elyra/issues/719
@lresende Not really, pyflakes seems to be always detecting the line above where the actual problem is, independent of blank lines in the file, like in this notebook example:
Then when the error in on the 1st line it will point to line 0:
So if pycodestyle is right but pyflakes is wrong it is something that needs to be addressed in the pyls(p). Looks like 0-based vs 1-based indexing. FYI we are migrating from now unmaintained python-language-server (pyls) to community-maintained python-lsp-server (pylsp) - same codebase, same maintainers (except for palantir).
Describe the issue The static code analysis tool used in LSP extension detects error in the wrong code line compared to ipython
To Reproduce Steps to reproduce the behavior:
Environment information