Skip to content

Commit ab596f0

Browse files
fix: Remove unit tests from pre-commit hooks
Pre-commit hooks should be fast. Running tests on every commit: - Slows down the development workflow - Fails legitimately when creating reproducers before fixes Tests are better suited for CI workflows where they run in parallel and don't block local commits. Fixes #1356 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 354976a commit ab596f0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,3 @@ repos:
4747
- types-tqdm
4848
- pandas-stubs
4949
- numpy
50-
- repo: local
51-
hooks:
52-
- id: unit-tests
53-
name: unit tests
54-
entry: pytest tests/unit/ -v --tb=short
55-
language: system
56-
pass_filenames: false
57-
always_run: true
58-
stages: [pre-commit]

0 commit comments

Comments
 (0)