Skip to content

Commit

Permalink
try update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
auvipy committed Oct 28, 2021
1 parent 43a1583 commit f3a64c9
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions Makefile
@@ -1,12 +1,11 @@
PROJ=django_celery_results
PGPIDENT="Celery Security Team"
PYTHON=python
PYTHON=python3
PYTEST=pytest
GIT=git
TOX=tox
ICONV=iconv
FLAKE8=flake8
FLAKEPLUS=flakeplus
PYDOCSTYLE=pydocstyle
SPHINX2RST=sphinx2rst

Expand All @@ -19,7 +18,7 @@ CONTRIBUTING=CONTRIBUTING.rst
CONTRIBUTING_SRC="docs/contributing.rst"
SPHINX_HTMLDIR="${SPHINX_BUILDDIR}/html"
DOCUMENTATION=Documentation
FLAKEPLUSTARGET=2.7


all: help

Expand All @@ -35,7 +34,6 @@ help:
@echo " contribcheck - Check CONTRIBUTING.rst encoding"
@echo " flakes -------- - Check code for syntax and style errors."
@echo " flakecheck - Run flake8 on the source code."
@echo " flakepluscheck - Run flakeplus on the source code."
@echo " pep257check - Run pydocstyle on the source code."
@echo "readme - Regenerate README.rst file."
@echo "contrib - Regenerate CONTRIBUTING.rst file"
Expand Down Expand Up @@ -92,13 +90,8 @@ flakediag:
pep257check:
$(PYDOCSTYLE) "$(PROJ)"

flakepluscheck:
$(FLAKEPLUS) --$(FLAKEPLUSTARGET) "$(PROJ)" "$(TESTDIR)"

flakeplusdiag:
-$(MAKE) flakepluscheck

flakes: flakediag flakeplusdiag pep257check
flakes: flakediag pep257check

clean-readme:
-rm -f $(README)
Expand Down

0 comments on commit f3a64c9

Please sign in to comment.