Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 52de27b

Browse filesBrowse files
TrottRafaelGSS
authored andcommitted
tools: pin ruff version number
New versions have new rules and end up breaking builds unexpectedly. PR-URL: #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>
1 parent 5bc13a4 commit 52de27b
Copy full SHA for 52de27b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,8 +1495,8 @@ cpplint: lint-cpp
14951495
# Try with '--system' if it fails without; the system may have set '--user'
14961496
lint-py-build:
14971497
$(info Pip installing ruff on $(shell $(PYTHON) --version)...)
1498-
$(PYTHON) -m pip install --upgrade --target tools/pip/site-packages ruff || \
1499-
$(PYTHON) -m pip install --upgrade --system --target tools/pip/site-packages ruff
1498+
$(PYTHON) -m pip install --upgrade --target tools/pip/site-packages ruff==0.0.272 || \
1499+
$(PYTHON) -m pip install --upgrade --system --target tools/pip/site-packages ruff==0.0.272
15001500

15011501
.PHONY: lint-py
15021502
ifneq ("","$(wildcard tools/pip/site-packages/ruff)")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.