forked from omnilib/aioitertools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
41 lines (30 loc) · 786 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
build:
flit build
dev:
flit install --symlink
setup:
python -m pip install -Ur requirements-dev.txt
.venv:
python -m venv .venv
source .venv/bin/activate && make setup dev
echo 'run `source .venv/bin/activate` to use virtualenv'
venv: .venv
release: lint test clean
flit publish
format:
python -m usort format aioitertools
python -m black aioitertools
lint:
python -m pylint --rcfile .pylint aioitertools
python -m usort check aioitertools
python -m black --check aioitertools
test:
python -m coverage run -m aioitertools.tests
python -m coverage report
python -m mypy aioitertools
html: .venv README.md docs/*
source .venv/bin/activate && sphinx-build -b html docs html
clean:
rm -rf build dist html README MANIFEST *.egg-info
distclean: clean
rm -rf .venv