forked from sloev/python-lambdarest
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
30 lines (21 loc) · 514 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (21 loc) · 514 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
install-python-versions:
cat .python-version | xargs -tL1 pyenv install -s
install-requirements:
pip install tox==3.14.3 black==19.10b0
install-requirements-single-version:
pip install -r dev_requirements.txt
pip install black==19.10b0
setup-all: install-python-versions install-requirements
setup: install-requirements-single-version
fix-lint:
black .
lint-ci:
black --check .
test: lint-ci
pytest
tox:
tox
release:
rm dist/*||true
python setup.py sdist build
python -m twine upload dist/*