We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f58d815 commit 228aa76Copy full SHA for 228aa76
.pre-commit-config.yaml
@@ -121,6 +121,13 @@ repos:
121
entry: python scripts/validate_unwanted_patterns.py --validation-type="private_function_across_module"
122
types: [python]
123
exclude: ^(asv_bench|pandas/tests|doc)/
124
+ - id: unwanted-patterns-bare-pytest-raises
125
+ name: Check for use of bare pytest raises
126
+ language: python
127
+ entry: python scripts/validate_unwanted_patterns.py --validation-type="bare_pytest_raises"
128
+ types: [python]
129
+ files: ^pandas/tests/
130
+ exclude: ^pandas/tests/(arrays|computation|dtypes|extension|indexes|indexing|io|libs|reductions|resample|reshape|series|window)/
131
- id: inconsistent-namespace-usage
132
name: 'Check for inconsistent use of pandas namespace in tests'
133
entry: python scripts/check_for_inconsistent_pandas_namespace.py
0 commit comments