flake8 linting

This commit is contained in:
Jörn-Michael Miehe 2023-10-26 19:10:20 +02:00
parent ec85614b51
commit 1b57fcf43d
2 changed files with 5 additions and 4 deletions

View file

@ -32,7 +32,7 @@
"mhutchie.git-graph", "mhutchie.git-graph",
"ms-python.python", "ms-python.python",
"ms-python.black-formatter", "ms-python.black-formatter",
// "ms-python.flake8", "ms-python.flake8",
"ms-python.isort", "ms-python.isort",
"ms-python.vscode-pylance" "ms-python.vscode-pylance"
] ]

View file

@ -1,7 +1,7 @@
{ {
"python.linting.enabled": true, // "python.linting.enabled": true,
"python.linting.pylintEnabled": false, // "python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true, // "python.linting.flake8Enabled": true,
"python.languageServer": "Pylance", "python.languageServer": "Pylance",
"editor.formatOnSave": true, "editor.formatOnSave": true,
"[python]": { "[python]": {
@ -19,4 +19,5 @@
"python.testing.unittestEnabled": false, "python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true, "python.testing.pytestEnabled": true,
"black-formatter.importStrategy": "fromEnvironment", "black-formatter.importStrategy": "fromEnvironment",
"flake8.importStrategy": "fromEnvironment",
} }