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 (pandas-dev#38973)

Co-authored-by: Marco Gorelli <marcogorelli@protonmail.com>
  • Loading branch information
2 people authored and luckyvs1 committed Jan 20, 2021
1 parent dcc6254 commit d2afa9e
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 d2afa9e

Please sign in to comment.