@@ -25,47 +25,47 @@ build: clean
2525
2626@PHONEY : release
2727release : build
28- twine upload dist/*
28+ $( PYTHON ) -m twine upload dist/*
2929
3030@PHONEY : install
3131install : clean requirements
32- python3 -m pip install .
32+ $( PYTHON ) -m pip install .
3333
3434@PHONEY : requirements
3535requirements :
36- pip install -r requirements.txt -r requirements-dev.txt
36+ $( PYTHON ) -m pip install -r requirements.txt -r requirements-dev.txt
3737
3838@PHONEY : black
3939black :
40- black linode_api4 test
40+ $( PYTHON ) -m black linode_api4 test
4141
4242@PHONEY : isort
4343isort :
44- isort linode_api4 test
44+ $( PYTHON ) -m isort linode_api4 test
4545
4646@PHONEY : autoflake
4747autoflake :
48- autoflake linode_api4 test
48+ $( PYTHON ) -m autoflake linode_api4 test
4949
5050@PHONEY : format
5151format : black isort autoflake
5252
5353@PHONEY : lint
5454lint : build
55- isort --check-only linode_api4 test
56- autoflake --check linode_api4 test
57- black --check --verbose linode_api4 test
58- pylint linode_api4
59- twine check dist/*
55+ $( PYTHON ) -m isort --check-only linode_api4 test
56+ $( PYTHON ) -m autoflake --check linode_api4 test
57+ $( PYTHON ) -m black --check --verbose linode_api4 test
58+ $( PYTHON ) -m pylint linode_api4
59+ $( PYTHON ) -m twine check dist/*
6060
6161@PHONEY : testint
6262testint :
63- python3 -m pytest test/integration/${INTEGRATION_TEST_PATH}${MODEL_COMMAND} ${TEST_CASE_COMMAND}
63+ $( PYTHON ) -m pytest test/integration/${INTEGRATION_TEST_PATH}${MODEL_COMMAND} ${TEST_CASE_COMMAND}
6464
6565@PHONEY : testunit
6666testunit :
67- python3 -m python test/unit
67+ $( PYTHON ) -m pytest test/unit
6868
6969@PHONEY : smoketest
7070smoketest :
71- pytest -m smoke test/integration --disable-warnings
71+ $( PYTHON ) -m pytest -m smoke test/integration --disable-warnings
0 commit comments