-
Notifications
You must be signed in to change notification settings - Fork 85
/
Makefile
32 lines (24 loc) · 623 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
test:
python test_simpleeval.py
autotest:
find . -name \*.py -not -path .\/.v\* | entr make test
.PHONY: test
dist/: setup.cfg simpleeval.py README.rst
python -m build
twine check dist/*
pypi: test dist/
twine check dist/*
twine upload dist/*
clean:
rm -rf build
rm -rf dist
coverage:
coverage run test_simpleeval.py
lint:
black --check --diff simpleeval.py test_simpleeval.py
isort --check-only --diff simpleeval.py test_simpleeval.py
pylint simpleeval.py test_simpleeval.py
mypy simpleeval.py test_simpleeval.py
format:
black simpleeval.py test_simpleeval.py
isort simpleeval.py test_simpleeval.py