You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PATH_LOCAL_PY=$(firstword$(shell python -c "import sys,pathlib;sys.stdout.write(' '.join([_ for _ in sys.path if _.startswith(str(pathlib.Path.home()))] ))"))
16
17
PATH_LOCAL_BIN=$(HOME)/.local/bin
17
18
18
-
REQUIRE_PY=flake8 bandit mypy
19
+
REQUIRE_PY=flake8 bandit mypy twine
19
20
PREP_ALL=$(REQUIRE_PY:%=build/require-py-%.task)
20
21
# Commands
21
-
BANDIT=python -m bandit
22
-
FLAKE8=python -m flake8
23
-
MYPY=python -m mypy
22
+
BANDIT=$(PYTHON) -m bandit
23
+
FLAKE8=$(PYTHON) -m flake8
24
+
MYPY=$(PYTHON) -m mypy
25
+
TWINE=$(PYTHON) -m twine
24
26
MYPYC=mypyc
25
27
26
28
cmd-check=if ! $$(which $1 &> /dev/null ); then echo "ERR Could not find command $1"; exit 1; fi; $1
@@ -111,11 +113,12 @@ format:
111
113
@ruff $(SOURCES_PY)
112
114
113
115
.PHONY: release
114
-
release:
116
+
release:$(PREP_ALL)
115
117
@git commit -a -m "[Release] $(PROJECT): $(VERSION)"
0 commit comments