add tests
This commit is contained in:
@@ -21,7 +21,7 @@ repos:
|
||||
rev: 1.7.9
|
||||
hooks:
|
||||
- id: bandit
|
||||
args: ["-r",".","-x",".venv,venv,build,dist,.tox,.mypy_cache,.ruff_cache,node_modules"]
|
||||
args: ["-r",".","-x",".venv,venv,build,dist,.tox,.mypy_cache,.ruff_cache,node_modules,**/tests/**"]
|
||||
additional_dependencies:
|
||||
- "python-dotenv>=1.0.1,<2.0.0"
|
||||
pass_filenames: false
|
||||
@@ -37,4 +37,13 @@ repos:
|
||||
rev: "v2.11"
|
||||
hooks:
|
||||
- id: vulture
|
||||
args: [".","--exclude",".venv,venv,build,dist,.tox,.mypy_cache,.ruff_cache,node_modules,**/migrations/**","--min-confidence","80"]
|
||||
args: [".","--exclude",".venv,venv,build,dist,.tox,.mypy_cache,.ruff_cache,node_modules,**/migrations/**","--min-confidence","80"]
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pytest
|
||||
name: pytest (unit+integration)
|
||||
entry: poetry run pytest -q
|
||||
language: system
|
||||
pass_filenames: false
|
||||
stages: [commit]
|
||||
Reference in New Issue
Block a user