21 lines
415 B
Makefile
21 lines
415 B
Makefile
# Makefile
|
|
SHELL = /bin/bash
|
|
|
|
# Styling
|
|
.PHONY: style
|
|
style:
|
|
black .
|
|
flake8
|
|
python3 -m isort .
|
|
pyupgrade
|
|
|
|
# Cleaning
|
|
.PHONY: clean
|
|
clean: style
|
|
python notebooks/clear_cell_nums.py
|
|
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*
|