mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
build: update ruff to v0.4.5
PR-URL: https://github.com/nodejs/node/pull/53180 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -1525,8 +1525,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.3.4 || \
|
||||
$(PYTHON) -m pip install --upgrade --system --target tools/pip/site-packages ruff==0.3.4
|
||||
$(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
|
||||
|
||||
.PHONY: lint-py
|
||||
ifneq ("","$(wildcard tools/pip/site-packages/ruff)")
|
||||
|
||||
Reference in New Issue
Block a user