Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

pylint vscode? #172

Closed
AlJohri opened this issue Jul 26, 2019 · 1 comment
Closed

pylint vscode? #172

AlJohri opened this issue Jul 26, 2019 · 1 comment
Labels

Comments

@AlJohri
Copy link

AlJohri commented Jul 26, 2019

does this help with pylint warnings on vscode by any chance? I tried it out and the warnings kept appearing, wasn't sure if I was using it wrong.

for now I followed the advice in this SO answer: https://stackoverflow.com/a/52119469/1667241

"python.linting.pylintArgs": [
        "--generated-members=pyspark.*",
        "--extension-pkg-whitelist=pyspark",
        "--ignored-modules=pyspark.sql.functions"
    ]

was hoping there was a better solution. thanks!

@zero323
Copy link
Owner

zero323 commented Jul 26, 2019

@AlJohri Pylint doesn't support type annotations yet (pylint-dev/pylint#647), so my educated guess is that it won't have any impact on your Visual Studio Code environment.

That being said, in my experience Mypy is at least as efficient in detecting coding mistakes, if not better. So you might consider re-configuring your environment (https://code.visualstudio.com/docs/python/linting#_specific-linters), possibly leaving only style checks to Pylint or Flake8.

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

No branches or pull requests

2 participants