-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (23 loc) · 715 Bytes
/
Makefile
File metadata and controls
34 lines (23 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
runserver:
python manage.py runserver
runworker:
celery -A webwatcher.celery worker -l info -E --pidfile=
runbeat:
celery -A webwatcher.celery beat -l info --pidfile= --scheduler django_celery_beat.schedulers:DatabaseScheduler
migrate:
python manage.py migrate
shell:
python manage.py shell
black:
black webwatcher
flake8:
flake8 webwatcher
isort:
isort -rc webwatcher
mypy:
mypy -p webwatcher --check-untyped-defs
lint: isort black flake8 mypy
test:
py.test --pyargs webwatcher --cov=webwatcher --cov-branch --no-cov-on-fail --cov-report=html --cov-report=term:skip-covered -vv --cov-fail-under 100
check: lint test
@echo "`tput setaf 2`\nAll checks passed. Great success! 🤘\n`tput sgr0`"