From e9ab4c5299f17c9b195a683a44918dfda2c52b15 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Mon, 29 Jul 2024 11:45:41 +0300 Subject: [PATCH] Use `ruff check`, pin `ruff` requirement to a version that has `ruff check` --- Makefile | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a170ae3e..ad8e1ca9 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ clean: rm -fr *.egg-info lint: - $(RUFF) $(PROJECT_NAME) + $(RUFF) check $(PROJECT_NAME) check: $(PYTEST) $(PROJECT_NAME) $(PYTEST_ARGS) --cov-report= --cov=pygal diff --git a/setup.py b/setup.py index 448efdc2..1a83b20e 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ "pyquery", "pytest", "pytest-cov", - "ruff", + "ruff>=0.5.5", ] moulinrouge_requirements = [