-
Notifications
You must be signed in to change notification settings - Fork 195
/
Makefile
38 lines (27 loc) · 620 Bytes
/
Makefile
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
35
36
37
38
.PHONY: test quality pep8 black types clean install build publish tree env
test:
@poetry run pytest --cov .
quality: pep8 black
pep8:
@poetry run flake8 flask_googlemaps --ignore=F403
black:
@poetry run black -l 80 --check .
types:
@mypy --py2 flask_googlemaps
clean:
@find ./ -name '*.pyc' -exec rm -f {} \;
@find ./ -name 'Thumbs.db' -exec rm -f {} \;
@find ./ -name '*~' -exec rm -f {} \;
@rm -rf dist/
@rm -rf *.egg
@rm -rf *.egg-info
install:
@poetry install
build:
@poetry build
publish:
@poetry publish
tree:
@tree -L 1 -a -I __pycache__ --dirsfirst --noreport
env:
@poetry env use 3.8