Skip to content

Commit 399a93f

Browse files
committed
fix style?
1 parent 8896002 commit 399a93f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

pandas/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,10 @@
178178
# use the closest tagged version if possible
179179
_built_with_meson = False
180180
try:
181-
from pandas._version_meson import __version__, __git_version__
181+
from pandas._version_meson import (
182+
__version__,
183+
__git_version__,
184+
) # pyright: ignore [reportMissingImports]
182185

183186
_built_with_meson = True
184187
except ImportError:

pandas/tests/api/test_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ def test_testing(self):
258258

259259
self.check(testing, self.funcs)
260260

261-
262261
def test_util_in_top_level(self, monkeypatch):
263262
# Can't import pandas from the test directory since its not
264263
# built inplace with meson

pandas/util/_print_versions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ def _get_commit_hash() -> str | None:
2222
git worktree correctly.
2323
"""
2424
try:
25-
from pandas._version_meson import __git_version__
25+
from pandas._version_meson import ( # pyright: ignore [reportMissingImports]
26+
__git_version__,
27+
)
2628

2729
return __git_version__
2830
except ImportError:

0 commit comments

Comments
 (0)