Skip to content

Commit f85eddd

Browse files
committed
STYLE: add precommit rule (pandas-dev#39203)
1 parent 5cb207b commit f85eddd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@ repos:
169169
pandas/tests/io/excel/test_writers\.py|
170170
pandas/tests/io/pytables/common\.py|
171171
pandas/tests/io/pytables/test_store\.py$
172+
- id: no-pd-api-types
173+
name: Check code for instances of pd.api.types
174+
entry: pd\.api\.types
175+
language: pygrep
176+
types: [python]
177+
files: ^pandas/test/
172178
- repo: https://github.com/asottile/yesqa
173179
rev: v1.2.2
174180
hooks:

0 commit comments

Comments
 (0)