File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 44repos :
55- repo : https://github.com/astral-sh/ruff-pre-commit
66 # Ruff version.
7- rev : ' v0.9.9 '
7+ rev : ' v0.11.4 '
88 hooks :
99 # Run the formatter.
1010 - id : ruff-format
2222 args : [--ignore-words-list=ser]
2323 exclude : ^docs/api-completeness.md$
2424- repo : https://github.com/pycqa/flake8
25- rev : ' 7.1.2 ' # todo: remove once https://github.com/astral-sh/ruff/issues/458 is addressed
25+ rev : ' 7.2.0 ' # todo: remove once https://github.com/astral-sh/ruff/issues/458 is addressed
2626 hooks :
2727 - id : flake8
2828 additional_dependencies : [darglint==1.8.1, Flake8-pyproject]
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- import os
43import sys
4+ from pathlib import Path
55
66import polars as pl
77
88import narwhals as nw
99from narwhals ._expression_parsing import ExprMetadata
1010from narwhals .utils import remove_prefix
11- from narwhals .utils import remove_suffix
1211
1312ret = 0
1413
4746 "Mapping" ,
4847}
4948
50- files = {remove_suffix ( i , ".py" ) for i in os . listdir ("narwhals" )}
49+ files = {fp . stem for fp in Path ("narwhals" ). iterdir ( )}
5150
5251# Top level functions
5352top_level_functions = [
You can’t perform that action at this time.
0 commit comments