diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea74d1d..14336f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,15 +2,19 @@ ci: autofix_commit_msg: "chore(pre-commit): autofix run" autoupdate_commit_msg: "chore(pre-commit): autoupdate hooks" +default_install_hook_types: + - pre-commit + - commit-msg + repos: - repo: https://github.com/compilerla/conventional-pre-commit - rev: v2.3.0 + rev: v3.6.0 hooks: - id: conventional-pre-commit stages: [commit-msg] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: mixed-line-ending @@ -20,21 +24,21 @@ repos: - id: check-added-large-files - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 24.10.0 hooks: - id: black types: - python - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.1.1 hooks: - id: flake8 types: - python - repo: https://github.com/pycqa/bandit - rev: 1.7.5 + rev: 1.7.10 hooks: - id: bandit args: ["-ll"] diff --git a/.vscode/settings.json b/.vscode/settings.json index 0f19673..1e852b0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,7 +10,7 @@ "editor.defaultFormatter": "ms-python.black-formatter" }, "python.languageServer": "Pylance", - "python.testing.pytestArgs": ["tests"], + "python.testing.pytestArgs": ["-m not e2e", "tests"], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false }