forked from gtalarico/pyairtable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (35 loc) · 721 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
39
40
41
42
43
44
45
46
47
48
.PHONY: test docs setup
usage:
cat Makefile
setup:
git config core.hooksPath scripts/githooks
pip install -e .
pip install -r requirements-test.txt -r requirements-dev.txt
release:
make clean
python -m build --sdist --wheel --outdir ./dist
twine upload ./dist/*
release-test:
make clean
python -m build --sdist --wheel --outdir ./dist
twine upload --repository testpypi ./dist/*
bump:
@bash -c "./scripts/bump.sh"
test:
pytest -v -m 'not integration'
test-e2e:
pytest -v
tox:
tox -e py
coverage:
pytest --cov=pyairtable --cov-report=html
open htmlcov/index.html
lint:
flake8 .
black --diff .
format:
black .
docs:
@bash -c "./scripts/build_docs.sh"
clean:
@bash -c "./scripts/clean.sh"