Skip to content

Commit

Permalink
fix style?
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomas1 committed Oct 29, 2022
1 parent 8896002 commit 399a93f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion pandas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@
# use the closest tagged version if possible
_built_with_meson = False
try:
from pandas._version_meson import __version__, __git_version__
from pandas._version_meson import (
__version__,
__git_version__,
) # pyright: ignore [reportMissingImports]

_built_with_meson = True
except ImportError:
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ def test_testing(self):

self.check(testing, self.funcs)


def test_util_in_top_level(self, monkeypatch):
# Can't import pandas from the test directory since its not
# built inplace with meson
Expand Down
4 changes: 3 additions & 1 deletion pandas/util/_print_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ def _get_commit_hash() -> str | None:
git worktree correctly.
"""
try:
from pandas._version_meson import __git_version__
from pandas._version_meson import ( # pyright: ignore [reportMissingImports]
__git_version__,
)

return __git_version__
except ImportError:
Expand Down

0 comments on commit 399a93f

Please sign in to comment.