1 VERSION
:= $(shell grep
"VERSION =" planetfilter | perl
-pe
's/^.+?([0-9.]+).$$/$$1/g')
6 find
-name
"*.pyc" -delete
9 @echo Running pyflakes...
10 @pyflakes3 planetfilter
13 @echo Running pydocstyle...
14 @pydocstyle planetfilter
21 @echo Running codespell...
22 @codespell planetfilter
25 @echo Running pylint...
26 @pylint3
--rcfile
=.pylintrc planetfilter
28 test: pep8 pydocstyle pyflakes lint codespell
31 git commit
-a
-m
"Bump version and changelog for release"
32 git tag
-s planetfilter-
$(VERSION
) -m
"$(VERSION) release"
36 python setup.py sdist upload
--sign