linter

Visual Studio Code is not showing alert for undefined class methods

Visual Studio Code is not showing alert for undefined class methods Question: I am using vscode with Pylance and Pylint, and it does not show an alert for undefined class methods as Pycharm does. Example: Pycharm Visual Studio Code What I tried: Used a different linter (Flake 8) Made sure there are no settings that …

Total answers: 1

Auto format flake8 linting errors in VSCode

Auto format flake8 linting errors in VSCode Question: I’m using the flake8 linter for Python and I have many code formats issues like blank line contains whitespace flake8(W293) I’m trying to auto fix these linting issues. I have these settings: "python.linting.enabled": true, "python.linting.flake8Enabled": true, "python.linting.lintOnSave": true, "python.linting.flake8Args": [ "–ignore=E501", ], "editor.formatOnSave": true I’m using the …

Total answers: 2