From 244160140ed895d46a38bb358c24f7ed6612413c Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Sun, 28 Apr 2024 14:27:47 +0000 Subject: [PATCH] chore(lint): address ruff deprecation warnings Signed-off-by: Mike Fiedler --- Makefile | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 042a133..c1c13f6 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ $(VENV)/pyvenv.cfg: pyproject.toml lint: $(VENV)/pyvenv.cfg . $(VENV_BIN)/activate && \ black --check $(ALL_PY_SRCS) && \ - ruff $(ALL_PY_SRCS) && \ + ruff check $(ALL_PY_SRCS) && \ mypy $(PY_MODULE) .PHONY: reformat diff --git a/pyproject.toml b/pyproject.toml index 35aeab0..6021a19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,6 +61,6 @@ warn_unused_ignores = true line-length = 100 [tool.ruff] -select = ["E", "F", "I", "W", "UP"] +lint.select = ["E", "F", "I", "W", "UP"] target-version = "py37" line-length = 100