File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1392,8 +1392,8 @@ cpplint: lint-cpp
1392
1392
# Try with '--system' if it fails without; the system may have set '--user'
1393
1393
lint-py-build :
1394
1394
$(info Pip installing flake8 linter on $(shell $(PYTHON ) --version) ...)
1395
- $(PYTHON ) -m pip install --upgrade -t tools/pip/site-packages flake8 || \
1396
- $(PYTHON ) -m pip install --upgrade --system -t tools/pip/site-packages flake8
1395
+ $(PYTHON ) -m pip install --no-user -- upgrade -t tools/pip/site-packages flake8 || \
1396
+ $(PYTHON ) -m pip install --no-user -- upgrade --system -t tools/pip/site-packages flake8
1397
1397
1398
1398
ifneq ("","$(wildcard tools/pip/site-packages/flake8) ")
1399
1399
.PHONY : lint-py
@@ -1412,8 +1412,8 @@ endif
1412
1412
# Try with '--system' if it fails without; the system may have set '--user'
1413
1413
lint-yaml-build :
1414
1414
$(info Pip installing yamllint on $(shell $(PYTHON ) --version) ...)
1415
- $(PYTHON ) -m pip install --upgrade -t tools/pip/site-packages yamllint || \
1416
- $(PYTHON ) -m pip install --upgrade --system -t tools/pip/site-packages yamllint
1415
+ $(PYTHON ) -m pip install --no-user -- upgrade -t tools/pip/site-packages yamllint || \
1416
+ $(PYTHON ) -m pip install --no-user -- upgrade --system -t tools/pip/site-packages yamllint
1417
1417
1418
1418
.PHONY : lint-yaml
1419
1419
# Lints the YAML files with yamllint.
You can’t perform that action at this time.
0 commit comments