mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
tools: pin ruff version number
New versions have new rules and end up breaking builds unexpectedly. PR-URL: https://github.com/nodejs/node/pull/48505 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Ruy Adorno <ruyadorno@google.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
44fd53a794
commit
198affc639
1 file changed
+2
-2
@@ -1495,8 +1495,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 || \
|
||||
$(PYTHON) -m pip install --upgrade --system --target tools/pip/site-packages ruff
|
||||
$(PYTHON) -m pip install --upgrade --target tools/pip/site-packages ruff==0.0.272 || \
|
||||
$(PYTHON) -m pip install --upgrade --system --target tools/pip/site-packages ruff==0.0.272
|
||||
|
||||
.PHONY: lint-py
|
||||
ifneq ("","$(wildcard tools/pip/site-packages/ruff)")
|
||||
|
||||
Reference in new issue
Block a user