Skip to content

Commit 9ab75fe

Browse files
committed
fix: add tests back to commit workflow
1 parent ff63122 commit 9ab75fe

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ repos:
1515
'--statistics'
1616
]
1717
exclude: ^db/__init__.py$ # all models need to be imported for Alembic, but are not used directly
18-
# - repo: local
19-
# hooks:
20-
# - id: pytest
21-
# name: pytest
22-
# entry: pytest # Or your specific test command, e.g., poetry run pytest
23-
# language: system
24-
# types: [python] # Specify relevant file types for your tests
25-
# pass_filenames: false
26-
# always_run: true
18+
- repo: local
19+
hooks:
20+
- id: pytest
21+
name: pytest
22+
entry: pytest # Or your specific test command, e.g., poetry run pytest
23+
language: system
24+
types: [python] # Specify relevant file types for your tests
25+
pass_filenames: false
26+
always_run: true
2727

2828
# - repo: https://github.com/pre-commit/mirrors-mypy
2929
# rev: v1.10.0 # Use the latest stable version or pin to your preference

0 commit comments

Comments
 (0)