Skip to content

Commit 3e61508

Browse files
committed
fix: ruff lint errors and update ruff config in pyproject.toml
1 parent 7df2e16 commit 3e61508

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ module-name = "tsdownsample._rust._tsdownsample_rs" # The path to place the comp
4040

4141
# Linting
4242
[tool.ruff]
43-
select = ["E", "F", "I"]
4443
line-length = 88
44+
45+
[tool.ruff.lint]
46+
select = ["E", "F", "I"]
4547
extend-select = ["Q"]
4648
ignore = ["E402", "F403"]
4749

tests/test_rust_mods.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
import tsdownsample._rust._tsdownsample_rs as tsds_rs
12
from test_config import (
23
rust_primitive_types_x,
34
rust_primitive_types_y,
45
rust_primitive_types_y_nan,
56
)
67

7-
import tsdownsample._rust._tsdownsample_rs as tsds_rs
8-
98

109
def _test_rust_mod_correctly_build(mod, sub_mods, has_x_impl: bool):
1110
# Without x

0 commit comments

Comments
 (0)