From d953861dafd623a03276455944d5f2bcca6861cd Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Wed, 29 May 2024 21:18:12 -0400 Subject: [PATCH] build: update ruff to v0.4.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/53180 Reviewed-By: Moshe Atlow Reviewed-By: Michaƫl Zasso Reviewed-By: Richard Lau Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Luigi Pinca --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8f6287501215fd..4af59e7336e410 100644 --- a/Makefile +++ b/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)")