{ // Configuration GitDoc (autocommit) "gitdoc.enabled": true, "gitdoc.autoCommitDelay": 30000, "gitdoc.commitMessageFormat": "docs: GitDoc update", "gitdoc.commitValidationLevel": "none", "gitdoc.autoPull": "off", "gitdoc.autoPush": "off", // Configuration Ruff "[python]": { "editor.defaultFormatter": "charliermarsh.ruff", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll": "explicit", "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.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, // Configuration SonarLint (SonarQube pour VSCode) "sonarlint.rules": { // Désactiver certaines règles si nécessaire // "python:S1192": { // "level": "off" // } }, "sonarlint.connectedMode.connections.sonarqube": [], "sonarlint.connectedMode.connections.sonarcloud": [], // Configuration Snyk "snyk.advanced.autoScanOpenSourceSecurity": true, "snyk.advanced.autoSelectOrganization": true, "snyk.yesWelcomeNotification": false, "snyk.features.codeSecurity": true, "snyk.features.openSourceSecurity": true, "snyk.features.iacSecurity": false, // Afficher les problèmes de sécurité dans l'éditeur "problems.showCurrentInStatus": true }