From 893531e09e4073e7e9309a68737a40956186aa2f Mon Sep 17 00:00:00 2001 From: jeroen Date: Thu, 29 Aug 2024 19:06:48 +0200 Subject: [PATCH] chore: update ruff command and specs --- Makefile | 4 ++-- pyproject.toml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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]