mirror of
https://github.com/GokuMohandas/Made-With-ML.git
synced 2026-03-11 17:46:49 -05:00
ML for Developers
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
# Makefile
|
||||
SHELL = /bin/bash
|
||||
|
||||
# Styling
|
||||
.PHONY: style
|
||||
style:
|
||||
black .
|
||||
flake8
|
||||
python3 -m isort .
|
||||
pyupgrade
|
||||
|
||||
# Cleaning
|
||||
.PHONY: clean
|
||||
clean: style
|
||||
find . -type f -name "*.DS_Store" -ls -delete
|
||||
find . | grep -E "(__pycache__|\.pyc|\.pyo)" | xargs rm -rf
|
||||
find . | grep -E ".pytest_cache" | xargs rm -rf
|
||||
find . | grep -E ".ipynb_checkpoints" | xargs rm -rf
|
||||
rm -rf .coverage*
|
||||
Reference in New Issue
Block a user