forked from TIO-IKIM/CellViT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
21 lines (19 loc) · 890 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# help
help:
@echo " "
@echo "Targets:"
@echo " "
@echo "- make black"
@echo "- make flake8"
@echo "- make generate_badge"
@echo "- make check_all "
black:
pre-commit run black
flake8:
pre-commit run flake8
generate_badge:
bash -c 'flake8 ./ --max-line-length 180 --exit-zero --format=html --htmldir ./reports/flake8 --statistics --output-file ./reports/flake8/flake8stats.txt --exclude __pycache__,.git,./preprocessing/src/config.py,./docker,./Orig-Metrics,./notebooks && genbadge flake8 -o ./reports/flake8/flake8-badge.svg'
check_all:
pre-commit
bash -c 'flake8 ./ --max-line-length 180 --exit-zero --format=html --htmldir ./reports/flake8 --statistics --output-file ./reports/flake8/flake8stats.txt --exclude __pycache__,.git,./preprocessing/src/config.py,./docker,./Orig-Metrics,./notebooks && genbadge flake8 -o ./reports/flake8/flake8-badge.svg'
.PHONY: help Makefile