Skip to content

Commit 6321893

Browse files
authored
Chore: small project fixes (#30)
2 parents 7272291 + 8115edf commit 6321893

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@ ci:
22
autofix_commit_msg: "chore(pre-commit): autofix run"
33
autoupdate_commit_msg: "chore(pre-commit): autoupdate hooks"
44

5+
default_install_hook_types:
6+
- pre-commit
7+
- commit-msg
8+
59
repos:
610
- repo: https://github.com/compilerla/conventional-pre-commit
7-
rev: v2.3.0
11+
rev: v3.6.0
812
hooks:
913
- id: conventional-pre-commit
1014
stages: [commit-msg]
1115

1216
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: v4.4.0
17+
rev: v5.0.0
1418
hooks:
1519
- id: trailing-whitespace
1620
- id: mixed-line-ending
@@ -20,21 +24,21 @@ repos:
2024
- id: check-added-large-files
2125

2226
- repo: https://github.com/psf/black
23-
rev: 23.7.0
27+
rev: 24.10.0
2428
hooks:
2529
- id: black
2630
types:
2731
- python
2832

2933
- repo: https://github.com/PyCQA/flake8
30-
rev: 6.1.0
34+
rev: 7.1.1
3135
hooks:
3236
- id: flake8
3337
types:
3438
- python
3539

3640
- repo: https://github.com/pycqa/bandit
37-
rev: 1.7.5
41+
rev: 1.7.10
3842
hooks:
3943
- id: bandit
4044
args: ["-ll"]

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"editor.defaultFormatter": "ms-python.black-formatter"
1111
},
1212
"python.languageServer": "Pylance",
13-
"python.testing.pytestArgs": ["tests"],
13+
"python.testing.pytestArgs": ["-m not e2e", "tests"],
1414
"python.testing.pytestEnabled": true,
1515
"python.testing.unittestEnabled": false
1616
}

0 commit comments

Comments
 (0)