@@ -59,18 +59,18 @@ style: format lint
5959
6060# # # Formatting
6161format :
62- @ black src/mapillary
63- @ black tests/
62+ @ pipenv run black src/mapillary
63+ @ pipenv run black tests/
6464
6565# # # Linting
6666lint :
6767 @ # stop the build if there are python3 syntax errors or undefined names
68- @ flake8 src/mapillary --count --select=E9,F63,F7,F82 --show-source --statistics
69- @ flake8 tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
68+ @ pipenv run flake8 src/mapillary --count --select=E9,F63,F7,F82 --show-source --statistics
69+ @ pipenv run flake8 tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
7070
7171 @ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
72- @ flake8 src/mapillary --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
73- @ flake8 tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
72+ @ pipenv run flake8 src/mapillary --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
73+ @ pipenv run flake8 tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
7474
7575# DOCUMENTATION
7676
@@ -132,7 +132,7 @@ dump-clean:
132132
133133# # Execute pytest on tests/
134134test :
135- @ pytest --log-cli-level=20
135+ @pipenv run pytest --log-cli-level=20
136136
137137test-no-warn :
138138 @ pytest --log-cli-level=20 --disable-warnings
0 commit comments