Skip to content

Commit 04599e4

Browse files
committed
fix: update ruff commants + remove rust doc comment
1 parent 1e30588 commit 04599e4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ install-dev-requirements:
1111

1212
.PHONY: format
1313
format:
14-
ruff --fix tsdownsample tests
14+
ruff format tsdownsample tests
1515
$(black)
1616
cargo fmt
1717

1818
.PHONY: lint-python
1919
lint-python:
20-
ruff tsdownsample tests
20+
ruff check tsdownsample tests
2121
$(black) --check --diff
2222

2323
.PHONY: lint-rust
@@ -66,4 +66,4 @@ clean:
6666
rm -f .coverage
6767
rm -f .coverage.*
6868
rm -rf build
69-
rm -f tsdownsample/*.so
69+
rm -f tsdownsample/*.so

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ module-name = "tsdownsample._rust._tsdownsample_rs" # The path to place the comp
3939

4040
# Linting
4141
[tool.ruff]
42-
select = ["E", "F", "I"]
4342
line-length = 88
44-
extend-select = ["Q"]
45-
ignore = ["E402", "F403"]
43+
lint.select = ["E", "F", "I"]
44+
lint.extend-select = ["Q"]
45+
lint.ignore = ["E402", "F403"]
4646

4747
# Formatting
4848
[tool.black]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use paste::paste;
55
use pyo3::prelude::*;
66
use pyo3::wrap_pymodule;
77

8-
/// ------------------------- MACROS -------------------------
8+
// ------------------------- MACROS -------------------------
99

1010
// Create macros to avoid duplicate code for the various resample functions over the
1111
// different data types.

0 commit comments

Comments
 (0)