Skip to content

Commit

Permalink
Chore: small project fixes (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman authored Nov 1, 2024
2 parents 7272291 + 8115edf commit 6321893
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 6321893

Please sign in to comment.