diff --git a/{{ cookiecutter.repo_name }}/Makefile b/{{ cookiecutter.repo_name }}/Makefile index 476e86e..d03753f 100644 --- a/{{ cookiecutter.repo_name }}/Makefile +++ b/{{ cookiecutter.repo_name }}/Makefile @@ -30,7 +30,8 @@ data: requirements ## Delete all compiled Python files clean: - find . -name "*.pyc" -exec rm {} \; + find . -type f -name "*.py[co]" -delete + find . -type d -name "__pycache__" -delete ## Lint using flake8 lint: