Skip to content

Commit 28cc6c6

Browse files
committed
add missing import
1 parent 9c29217 commit 28cc6c6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ repos:
147147
# Check for deprecated messages without sphinx directive
148148
|(DEPRECATED|DEPRECATE|Deprecated)(:|,|\.)
149149
150-
# Check for ``stacklevel=5`` instead of ``stacklevel=find_stack_level(inspect.currentframe())``
150+
# Check for e.g. ``stacklevel=5`` instead of
151+
# ``stacklevel=find_stack_level(inspect.currentframe())``
151152
|stacklevel=\d+
152153
types_or: [python, cython, rst]
153154
- id: cython-casting

pandas/_libs/parsers.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ from csv import (
88
QUOTE_NONNUMERIC,
99
)
1010
from errno import ENOENT
11+
import inspect
1112
import sys
1213
import time
1314
import warnings

0 commit comments

Comments
 (0)