Skip to content

Commit e75de8c

Browse files
committed
Remove old hook
1 parent 290cd4a commit e75de8c

File tree

3 files changed

+1
-114
lines changed

3 files changed

+1
-114
lines changed

.pre-commit-config.yaml

+1-8
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
name: ruff-use-pd_array-in-core
3535
alias: ruff-use-pd_array-in-core
3636
files: ^pandas/core/
37-
# exclude: ^pandas/core/api\.py$
37+
exclude: ^pandas/core/api\.py$
3838
args: [--select, "ICN001", --exit-non-zero-on-fix]
3939
- id: ruff-format
4040
exclude: ^scripts
@@ -278,13 +278,6 @@ repos:
278278
language: python
279279
entry: python scripts/validate_unwanted_patterns.py --validation-type="nodefault_used_not_only_for_typing"
280280
types: [python]
281-
- id: use-pd_array-in-core
282-
name: Import pandas.array as pd_array in core
283-
language: python
284-
entry: python scripts/use_pd_array_in_core.py
285-
files: ^pandas/core/
286-
exclude: ^pandas/core/api\.py$
287-
types: [python]
288281
- id: no-return-exception
289282
name: Use raise instead of return for exceptions
290283
language: pygrep

scripts/tests/test_use_pd_array_in_core.py

-26
This file was deleted.

scripts/use_pd_array_in_core.py

-80
This file was deleted.

0 commit comments

Comments
 (0)