refactor: extend the `make clean` command

This commit is contained in:
Moritz E. Beber 2017-07-21 15:16:13 +02:00
parent 2bafb83110
commit 96c61fcef0
1 changed files with 2 additions and 1 deletions

View File

@ -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: