Skip to content

Commit

Permalink
TST: update pre-commit config to only exclude extension from bare pyt…
Browse files Browse the repository at this point in the history
…est.raises check (#38973)

Co-authored-by: Marco Gorelli <[email protected]>
  • Loading branch information
moink and MarcoGorelli authored Jan 5, 2021
1 parent 67d4cae commit 0a4cc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ repos:
entry: python scripts/validate_unwanted_patterns.py --validation-type="bare_pytest_raises"
types: [python]
files: ^pandas/tests/
exclude: ^pandas/tests/(computation|extension|io)/
exclude: ^pandas/tests/extension/
- id: inconsistent-namespace-usage
name: 'Check for inconsistent use of pandas namespace in tests'
entry: python scripts/check_for_inconsistent_pandas_namespace.py
Expand Down

0 comments on commit 0a4cc39

Please sign in to comment.