Introduce ruff (eventually replacing autoflake, pyupgrade, flake8) (#86224)

This commit is contained in:
Aarni Koskela
2023-01-24 13:15:16 +02:00
committed by GitHub
parent df0c0297c8
commit bf41a971a2
9 changed files with 185 additions and 11 deletions

14
.vscode/tasks.json vendored
View File

@ -41,6 +41,20 @@
},
"problemMatcher": []
},
{
"label": "Ruff",
"type": "shell",
"command": "pre-commit run ruff --all-files",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
},
{
"label": "Pylint",
"type": "shell",