forked from G-Two/subarulink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (30 loc) · 835 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
# SPDX-License-Identifier: WTFPL
# Based on code from https://github.com/bachya/simplisafe-python/blob/dev/Makefile
black:
pipenv run black subarulink
coverage:
#Not implemented yet
#pipenv run py.test -s --verbose --cov-report term-missing --cov-report xml --cov=subarulink tests
clean:
rm -rf dist/ build/ .egg subarulink.egg-info/
init:
pip3 install --upgrade pip pipenv
pipenv lock
pipenv install --three --dev
pre-commit install
lint: flake8 docstyle pylint
flake8:
pipenv run flake8 subarulink
docstyle:
pipenv run pydocstyle subarulink
pylint:
pipenv run pylint subarulink
publish:
pipenv run python setup.py sdist bdist_wheel
pipenv run twine upload dist/*
rm -rf dist/ build/ .egg subarulink.egg-info/
test:
#Not implemented yet
#pipenv run py.test
typing:
pipenv run mypy --ignore-missing-imports subarulink