feat: code quality audit + autoresearch integration + infra hardening (#150)
This commit is contained in:
committed by
GitHub
parent
fd0ede0d51
commit
ae3bb1cc21
@@ -51,12 +51,12 @@ repos:
|
||||
exclude: ^tests/
|
||||
stages: [manual]
|
||||
|
||||
# Full test suite with 30-second wall-clock limit.
|
||||
# Current baseline: ~18s. If tests get slow, this blocks the commit.
|
||||
# Unit tests only with 30-second wall-clock limit.
|
||||
# Runs only fast unit tests on commit; full suite runs in CI.
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pytest-fast
|
||||
name: pytest (30s limit)
|
||||
name: pytest unit (30s limit)
|
||||
entry: timeout 30 poetry run pytest
|
||||
language: system
|
||||
types: [python]
|
||||
@@ -68,4 +68,8 @@ repos:
|
||||
- -q
|
||||
- --tb=short
|
||||
- --timeout=10
|
||||
- -m
|
||||
- unit
|
||||
- -p
|
||||
- no:xdist
|
||||
verbose: true
|
||||
|
||||
Reference in New Issue
Block a user