From 31bdd749db8abf9a304758453f41a6d9f6700076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Peccini?= Date: Sun, 8 Feb 2026 08:20:22 +0100 Subject: [PATCH] fix: Retirer .vscode/settings.json du versioning et creer fichier exemple - Retrait de .vscode/settings.json du tracking git - Creation de .vscode/settings.json.example comme reference - Mise a jour .gitignore avec commentaire explicatif - Ajout htmlcov/ et .coverage dans .gitignore Chaque developpeur peut maintenant copier settings.json.example vers settings.json et adapter selon ses preferences. --- .gitignore | 6 ++++++ .../{settings.json => settings.json.example} | 19 +++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) rename .vscode/{settings.json => settings.json.example} (80%) diff --git a/.gitignore b/.gitignore index 6ef2b9f..eaa7e64 100644 --- a/.gitignore +++ b/.gitignore @@ -37,4 +37,10 @@ static/Fiches/ .DS_Store .zed .ropeproject + +# VSCode - settings personnel (copier depuis settings.json.example) .vscode/settings.json + +# Rapports de couverture +htmlcov/ +.coverage diff --git a/.vscode/settings.json b/.vscode/settings.json.example similarity index 80% rename from .vscode/settings.json rename to .vscode/settings.json.example index 8802141..e521a82 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json.example @@ -1,6 +1,5 @@ { "gitdoc.enabled": true, - // Configuration Ruff "[python]": { "editor.defaultFormatter": "charliermarsh.ruff", @@ -10,34 +9,34 @@ "source.organizeImports": "explicit" } }, - // Extension Ruff "ruff.enable": true, "ruff.lint.enable": true, - "ruff.format.args": ["--config=pyproject.toml"], - "ruff.lint.args": ["--config=pyproject.toml"], + "ruff.format.args": [ + "--config=pyproject.toml" + ], + "ruff.lint.args": [ + "--config=pyproject.toml" + ], "ruff.organizeImports": true, "ruff.fixAll": true, - // Affichage des problèmes "ruff.showNotifications": "onWarning", - // Python général "python.analysis.typeCheckingMode": "basic", "python.linting.enabled": true, "python.linting.ruffEnabled": true, - // Fichiers à ignorer "files.exclude": { "**/__pycache__": true, "**/*.pyc": true, "**/.pytest_cache": true }, - // Tests "python.testing.pytestEnabled": true, "python.testing.pytestArgs": [ "tests" ], - "python.testing.unittestEnabled": false -} + "python.testing.unittestEnabled": false, + "snyk.advanced.autoSelectOrganization": true +} \ No newline at end of file