Skip to content

Commit 1ac87eb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1062d99 commit 1ac87eb

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

narwhals/temp_plugin_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
from __future__ import annotations
2+
13
import sys
24

35
if sys.version_info < (3, 10):
46
from importlib_metadata import entry_points
57
else:
68
from importlib.metadata import entry_points
79

8-
discovered_plugins = entry_points(group='narwhals.plugins')
10+
discovered_plugins = entry_points(group="narwhals.plugins")
911

10-
print(discovered_plugins)
12+
print(discovered_plugins)

narwhals/translate.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

3-
import sys
43
import datetime as dt
4+
import sys
55
from decimal import Decimal
66
from functools import wraps
77
from typing import TYPE_CHECKING, Any, Callable, Literal, TypeVar, overload
@@ -532,16 +532,16 @@ def _from_native_impl( # noqa: C901, PLR0911, PLR0912, PLR0915
532532
)
533533
raise TypeError(msg)
534534
return Version.V1.dataframe(InterchangeFrame(native_object), level="interchange")
535-
535+
536536
# TODO @mp: this should be connection point to plugin
537537

538538
if sys.version_info < (3, 10):
539539
from importlib_metadata import entry_points
540540
else:
541541
from importlib.metadata import entry_points
542-
543-
discovered_plugins = entry_points(group='narwhals.plugins')
544-
542+
543+
discovered_plugins = entry_points(group="narwhals.plugins")
544+
545545
print(discovered_plugins)
546546

547547
if not pass_through:

0 commit comments

Comments
 (0)