Skip to content

Commit 0a4cc39

Browse files
moinkMarcoGorelli
andauthored
TST: update pre-commit config to only exclude extension from bare pytest.raises check (#38973)
Co-authored-by: Marco Gorelli <[email protected]>
1 parent 67d4cae commit 0a4cc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ repos:
126126
entry: python scripts/validate_unwanted_patterns.py --validation-type="bare_pytest_raises"
127127
types: [python]
128128
files: ^pandas/tests/
129-
exclude: ^pandas/tests/(computation|extension|io)/
129+
exclude: ^pandas/tests/extension/
130130
- id: inconsistent-namespace-usage
131131
name: 'Check for inconsistent use of pandas namespace in tests'
132132
entry: python scripts/check_for_inconsistent_pandas_namespace.py

0 commit comments

Comments
 (0)