Skip to content

Commit 7b1f975

Browse files
authored
STYLE: Enable ruff TCH on "pandas/_libs/*" (#51794)
Fix for pandas/_libs/
1 parent 1bdc98c commit 7b1f975

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
types_or: [python, pyi]
2929
additional_dependencies: [black==23.1.0]
3030
- repo: https://github.com/charliermarsh/ruff-pre-commit
31-
rev: v0.0.253
31+
rev: v0.0.255
3232
hooks:
3333
- id: ruff
3434
args: [--exit-non-zero-on-fix]

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ exclude = [
296296
"pandas/plotting/*" = ["PLW2901"]
297297
# TCH to be enabled gradually
298298
"pandas/core/nanops.py" = ["TCH"]
299-
"pandas/_libs/*" = ["TCH"]
300299
# Keep this one enabled
301300
"pandas/_typing.py" = ["TCH"]
302301

0 commit comments

Comments
 (0)