File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ install-dev-requirements:
11
11
12
12
.PHONY : format
13
13
format :
14
- ruff --fix tsdownsample tests
14
+ ruff format tsdownsample tests
15
15
$(black )
16
16
cargo fmt
17
17
18
18
.PHONY : lint-python
19
19
lint-python :
20
- ruff tsdownsample tests
20
+ ruff check tsdownsample tests
21
21
$(black ) --check --diff
22
22
23
23
.PHONY : lint-rust
66
66
rm -f .coverage
67
67
rm -f .coverage.*
68
68
rm -rf build
69
- rm -f tsdownsample/* .so
69
+ rm -f tsdownsample/* .so
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ module-name = "tsdownsample._rust._tsdownsample_rs" # The path to place the comp
39
39
40
40
# Linting
41
41
[tool .ruff ]
42
- select = [" E" , " F" , " I" ]
43
42
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" ]
46
46
47
47
# Formatting
48
48
[tool .black ]
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use paste::paste;
5
5
use pyo3:: prelude:: * ;
6
6
use pyo3:: wrap_pymodule;
7
7
8
- /// ------------------------- MACROS -------------------------
8
+ // ------------------------- MACROS -------------------------
9
9
10
10
// Create macros to avoid duplicate code for the various resample functions over the
11
11
// different data types.
You can’t perform that action at this time.
0 commit comments