diff --git a/Makefile b/Makefile index f2b3e2f..ce5e83d 100644 --- a/Makefile +++ b/Makefile @@ -11,13 +11,13 @@ install-dev-requirements: .PHONY: format format: - ruff --fix tsdownsample tests + ruff check --fix tsdownsample tests $(black) cargo fmt .PHONY: lint-python lint-python: - ruff tsdownsample tests + ruff check tsdownsample tests $(black) --check --diff .PHONY: lint-rust diff --git a/pyproject.toml b/pyproject.toml index 074b23c..2d68953 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,10 +39,10 @@ module-name = "tsdownsample._rust._tsdownsample_rs" # The path to place the comp # Linting [tool.ruff] -select = ["E", "F", "I"] line-length = 88 -extend-select = ["Q"] -ignore = ["E402", "F403"] +lint.select = ["E", "F", "I"] +lint.extend-select = ["Q"] +lint.ignore = ["E402", "F403"] # Formatting [tool.black]