From 548eeea488d76da049bea91ba30131623cc2e9d3 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 11 Nov 2023 16:49:04 +1100 Subject: [PATCH] Black infers target-version from requires-python in pyproject.toml --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b7f07e24d..ad0a1adab 100644 --- a/Makefile +++ b/Makefile @@ -118,6 +118,6 @@ lint: .PHONY: lint-fix lint-fix: python3 -c "import black" > /dev/null 2>&1 || python3 -m pip install black - python3 -m black --target-version py38 . + python3 -m black . python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff python3 -m ruff --fix .