déplacement de valeur vers des constantes et config mypy vscode

This commit is contained in:
2026-03-13 14:21:05 +01:00
parent 8e22b69f81
commit d877a5cc91
4 changed files with 19 additions and 9 deletions

13
.vscode/settings.json vendored
View File

@@ -1,6 +1,15 @@
{
"python.analysis.autoImportCompletions": true,
"python.analysis.extraPaths": [".venv/lib/python3.11/site-packages"],
"python.analysis.extraPaths": [".venv/lib/site-packages"],
"python.analysis.fixAll": ["source.unusedImports"],
"python.languageServer": "Pylance"
"python.languageServer": "Pylance",
"mypy-type-checker.args": [
"--disallow-untyped-defs=True",
"--disallow-untyped-calls=True",
"--check-untyped-defs=True",
"--warn_return_any=True",
"--no-implicit-optional=True",
"--strict_optional=True",
"--ignore_missing_imports=True",
]
}