refactor: extend the `make clean` command
This commit is contained in:
parent
2bafb83110
commit
96c61fcef0
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue