File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/astral-sh/ruff-pre-commit
3
3
# Ruff version.
4
- rev : ' v0.6.9 '
4
+ rev : ' v0.7.0 '
5
5
hooks :
6
6
# Run the formatter.
7
7
- id : ruff-format
8
8
# Run the linter.
9
9
- id : ruff
10
10
args : [--fix]
11
11
- repo : https://github.com/pre-commit/mirrors-mypy
12
- rev : ' v1.11.2 '
12
+ rev : ' v1.12.1 '
13
13
hooks :
14
14
- id : mypy
15
15
additional_dependencies : ['polars==1.4.1', 'pytest==8.3.2']
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ def __getitem__(
172
172
),
173
173
) -> ArrowSeries | ArrowDataFrame :
174
174
if isinstance (item , tuple ):
175
- item = tuple (list (i ) if is_sequence_but_not_str (i ) else i for i in item )
175
+ item = tuple (list (i ) if is_sequence_but_not_str (i ) else i for i in item ) # type: ignore[assignment]
176
176
177
177
if isinstance (item , str ):
178
178
from narwhals ._arrow .series import ArrowSeries
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ def __getitem__(
155
155
),
156
156
) -> PandasLikeSeries | PandasLikeDataFrame :
157
157
if isinstance (item , tuple ):
158
- item = tuple (list (i ) if is_sequence_but_not_str (i ) else i for i in item )
158
+ item = tuple (list (i ) if is_sequence_but_not_str (i ) else i for i in item ) # type: ignore[assignment]
159
159
160
160
if isinstance (item , str ):
161
161
from narwhals ._pandas_like .series import PandasLikeSeries
You can’t perform that action at this time.
0 commit comments