This commit is contained in:
fencl
2025-11-04 13:50:38 +01:00
commit 024eb52a69
23 changed files with 2407 additions and 0 deletions

44
Makefile Normal file
View 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