mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 15:55:49 -04:00
make target-version explicit on ruff import sorting
This commit is contained in:
parent
fbf7465ee6
commit
f81529eda1
4
Makefile
4
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 .
|
||||
|
Loading…
x
Reference in New Issue
Block a user