Skip to content

Commit ec86252

Browse files
cursoragentP4X-ng
andcommitted
Use python3 module invocations in Makefile tasks
Co-authored-by: P4x-ng <P4X-ng@users.noreply.github.com>
1 parent 7fe36c6 commit ec86252

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66
default: mypy-generate test-generate generate test-import mypy-cdp test-cdp
77

88
docs:
9-
$(MAKE) -C docs html
9+
$(MAKE) -C docs html SPHINXBUILD="python3 -m sphinx"
1010

1111
generate:
12-
python generator/generate.py
12+
python3 generator/generate.py
1313

1414
mypy-cdp:
15-
mypy cdp/
15+
python3 -m mypy cdp/
1616

1717
mypy-generate:
18-
mypy generator/
18+
python3 -m mypy generator/
1919

2020
test-cdp:
21-
pytest test/
21+
python3 -m pytest test/
2222

2323
test-generate:
24-
pytest generator/
24+
python3 -m pytest generator/
2525

2626
test-import:
27-
python -c 'import cdp; print(cdp.accessibility)'
27+
python3 -c 'import cdp; print(cdp.accessibility)'

0 commit comments

Comments
 (0)