init
This commit is contained in:
44
Makefile
Normal file
44
Makefile
Normal file
@@ -0,0 +1,44 @@
|
||||
# Makefile
|
||||
help:
|
||||
@echo "Please use 'make <target>' where <target> is one of"
|
||||
@echo " clean clean up __pycache__"
|
||||
@echo " clean-build clean build files and directories"
|
||||
@echo " mrproper all cleaning jobs"
|
||||
@echo " pep8 to check PEP 8"
|
||||
@echo " static-check to check PEP 8 and merge markers"
|
||||
|
||||
clean:
|
||||
@echo "-------------------"
|
||||
@echo "Purifying 'pycache'"
|
||||
@echo "-------------------"
|
||||
rm -fv **/*.pyc
|
||||
rm -fv **/*.pyo
|
||||
|
||||
clean-build:
|
||||
@echo "--------------"
|
||||
@echo "Cleaning build"
|
||||
@echo "--------------"
|
||||
rm -rfv *.egg-info/
|
||||
rm -rfv dist/
|
||||
|
||||
mrproper: clean clean-build
|
||||
|
||||
# pep8:
|
||||
# @echo "--------------"
|
||||
# @echo "Checking PEP"
|
||||
# @echo "--------------"
|
||||
# @echo "**pycodestyle**"
|
||||
# pycodestyle .
|
||||
#
|
||||
# @echo "--------------"
|
||||
# @echo "**flake8**"
|
||||
# flake8
|
||||
pep8:
|
||||
@echo "--------------"
|
||||
@echo "**flake8**"
|
||||
@echo "--------------"
|
||||
flake8 app.py --exclude=migrations
|
||||
flake8 scripts --exclude=migrations
|
||||
|
||||
# static-check: pep8 merge-markers
|
||||
|
||||
Reference in New Issue
Block a user