mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
build: update ruff
to 0.5.2
PR-URL: https://github.com/nodejs/node/pull/53909 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
b00102e035
commit
123693ccbf
4
Makefile
4
Makefile
@ -1529,8 +1529,8 @@ cpplint: lint-cpp
|
||||
# Try with '--system' if it fails without; the system may have set '--user'
|
||||
lint-py-build:
|
||||
$(info Pip installing ruff on $(shell $(PYTHON) --version)...)
|
||||
$(PYTHON) -m pip install --upgrade --target tools/pip/site-packages ruff==0.4.5 || \
|
||||
$(PYTHON) -m pip install --upgrade --system --target tools/pip/site-packages ruff==0.4.5
|
||||
$(PYTHON) -m pip install --upgrade --target tools/pip/site-packages ruff==0.5.2 || \
|
||||
$(PYTHON) -m pip install --upgrade --system --target tools/pip/site-packages ruff==0.5.2
|
||||
|
||||
.PHONY: lint-py
|
||||
ifneq ("","$(wildcard tools/pip/site-packages/ruff)")
|
||||
|
Loading…
Reference in New Issue
Block a user