-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (33 loc) · 693 Bytes
/
Copy pathMakefile
File metadata and controls
45 lines (33 loc) · 693 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
35
36
37
38
39
40
41
42
43
44
45
.PHONY: all test test-with-typeguard lint tox format release clean develop htmldoc
all: test lint
test:
pytest
test-with-typeguard:
pytest --typeguard-packages=tentakel
lint:
ruff check src tests
flake8 src tests
mypy --show-error-codes src tests
tox:
tox -p auto
format:
black --exclude src/tentakel/tpg.py src tests
isort src tests
release: clean
poetry build
twine upload dist/*
clean:
rm -rf **/__pycache__
rm -rf build dist
rm -rf .tox .mypy_cache .pytest_cache
htmldoc:
groff -Thtml -man doc/tentakel.1 > doc/tentakel.1.html
develop:
poetry install
publish: clean
git push --tags
poetry build
twine upload dist/*
update-deps:
poetry update
poetry show -o