Skip to content

Commit

Permalink
build: update ruff to v0.4.5
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
anonrig authored and targos committed Jun 1, 2024
1 parent c391923 commit 74cefa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
Expand Down

0 comments on commit 74cefa5

Please sign in to comment.