We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9da5ea6 commit ea6c60eCopy full SHA for ea6c60e
Makefile
@@ -1493,7 +1493,8 @@ cpplint: lint-cpp
1493
# Try with '--system' if it fails without; the system may have set '--user'
1494
lint-py-build:
1495
$(info Pip installing ruff linter on $(shell $(PYTHON) --version)...)
1496
- $(PYTHON) -m pip install --upgrade --user ruff
+ $(PYTHON) -m pip install --upgrade --target tools/pip/site-packages ruff || \
1497
+ $(PYTHON) -m pip install --upgrade --system -target tools/pip/site-packages ruff
1498
1499
.PHONY: lint-py
1500
# Lints the Python code with ruff.
0 commit comments