We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b56f6c commit d6c22b7Copy full SHA for d6c22b7
tests/_typing.py
@@ -1,5 +1,10 @@
1
-# Committed content should be import-only. At runtime of tests, this file will
2
-# be replaced by pandas-stubs/_typing.pyi.
+# This file serves as a stub file for static type checkers
+# (pyright does not like it if I call the file tests/_typing.pyi).
3
+# In tests/conftest.py, this file is copied to tests/_typing.pyi, and
4
+# pandas-stubs/_typing.pyi is copied to tests/_typing.py.
5
+# After tests are done, tests/_typing.pyi is copied back to
6
+# pandas-stubs/_typing.pyi.
7
+# Do not commit this file if its content is identical to pandas-stubs/_typing.pyi.
8
9
from pandas._typing import (
10
BooleanDtypeArg,
0 commit comments