From f81529eda122ea3f5402425cec20af334df85499 Mon Sep 17 00:00:00 2001 From: Gretchen Miller Date: Fri, 7 Mar 2025 16:41:53 -0800 Subject: [PATCH] make target-version explicit on ruff import sorting --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6906ab8..aaaa5b9 100644 --- a/Makefile +++ b/Makefile @@ -41,10 +41,10 @@ check: .PHONY: check-format check-format: - $(VIRTUAL_ENV_DIR)/bin/ruff check --select I + $(VIRTUAL_ENV_DIR)/bin/ruff check --select I --target-version py37 . $(VIRTUAL_ENV_DIR)/bin/ruff format --check --target-version py37 . .PHONY: format format: - $(VIRTUAL_ENV_DIR)/bin/ruff check --select I --fix + $(VIRTUAL_ENV_DIR)/bin/ruff check --select I --target-version py37 --fix . $(VIRTUAL_ENV_DIR)/bin/ruff format --target-version py37 .