From 9b27ef065c5e684b2e1b983fc3ee8ba8349e3904 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Thu, 26 Sep 2024 05:09:03 +0000 Subject: [PATCH 1/3] chore(vscode): skip e2e tests in test runner --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } From 97112df3473fc8b3336c1776e77ab916b54dc0f6 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Fri, 1 Nov 2024 21:49:31 +0000 Subject: [PATCH 2/3] chore(pre-commit): default install hook types pre-commit and commit-msg --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea74d1d..9adaac9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,10 @@ 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 From 8115edf7014ff2a5320b48fa287c3bf18264628e Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Fri, 1 Nov 2024 22:01:42 +0000 Subject: [PATCH 3/3] chore(pre-commit): autoupdate hooks --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9adaac9..14336f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,13 +8,13 @@ default_install_hook_types: 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 @@ -24,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"]