GeezerVison is showing github.com — build: remove Python pip `--no-user` option · nodejs/node@666df20
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: Makefile +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1519,8 +1519,8 @@ cpplint: lint-cpp |
1519 | 1519 | # Try with '--system' if it fails without; the system may have set '--user' |
1520 | 1520 | lint-py-build: |
1521 | 1521 | $(info Pip installing flake8 linter on $(shell $(PYTHON) --version)...) |
1522 | | - $(PYTHON) -m pip install --no-user --upgrade -t tools/pip/site-packages flake8 || \ |
1523 | | - $(PYTHON) -m pip install --no-user --upgrade --system -t tools/pip/site-packages flake8 |
| 1522 | + $(PYTHON) -m pip install --upgrade -t tools/pip/site-packages flake8 || \ |
| 1523 | + $(PYTHON) -m pip install --upgrade --system -t tools/pip/site-packages flake8 |
1524 | 1524 |
|
1525 | 1525 | .PHONY: lint-py |
1526 | 1526 | ifneq ("","$(wildcard tools/pip/site-packages/flake8)") |
@@ -1539,8 +1539,8 @@ endif |
1539 | 1539 | # Try with '--system' if it fails without; the system may have set '--user' |
1540 | 1540 | lint-yaml-build: |
1541 | 1541 | $(info Pip installing yamllint on $(shell $(PYTHON) --version)...) |
1542 | | - $(PYTHON) -m pip install --no-user --upgrade -t tools/pip/site-packages yamllint || \ |
1543 | | - $(PYTHON) -m pip install --no-user --upgrade --system -t tools/pip/site-packages yamllint |
| 1542 | + $(PYTHON) -m pip install --upgrade -t tools/pip/site-packages yamllint || \ |
| 1543 | + $(PYTHON) -m pip install --upgrade --system -t tools/pip/site-packages yamllint |
1544 | 1544 |
|
1545 | 1545 | .PHONY: lint-yaml |
1546 | 1546 | # Lints the YAML files with yamllint. |
|