Skip to content

Commit 376eb05

Browse files
committed
lint
1 parent 7d6c431 commit 376eb05

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

polars_xdt/functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import sys
44
from pathlib import Path
5-
from typing import TYPE_CHECKING, Literal, Sequence
5+
from typing import TYPE_CHECKING, Literal
66

77
import polars as pl
88
from polars.plugins import register_plugin_function
@@ -15,6 +15,7 @@
1515
from typing_extensions import TypeAlias
1616

1717
if TYPE_CHECKING:
18+
from collections.abc import Sequence
1819
from datetime import date
1920

2021
from polars import Expr

polars_xdt/ranges.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
from __future__ import annotations
22

33
import re
4-
from typing import TYPE_CHECKING, Literal, Sequence, Union, overload
4+
from typing import TYPE_CHECKING, Literal, Union, overload
55

66
import polars as pl
77

88
mapping = {"Mon": 1, "Tue": 2, "Wed": 3, "Thu": 4, "Fri": 5, "Sat": 6, "Sun": 7}
99

1010
if TYPE_CHECKING:
1111
import sys
12+
from collections.abc import Sequence
1213

1314
if sys.version_info >= (3, 10):
1415
from typing import TypeAlias

0 commit comments

Comments
 (0)