-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
36 lines (28 loc) · 679 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
venv:
python3.11 -m venv .venv
echo 'run `source .venv/bin/activate` to start develop asyncDB'
install:
pip install wheel==0.42.0
pip install -e .
develop:
pip install wheel==0.42.0
pip install -e .[all]
pip install -Ur docs/requirements-dev.txt
flit install --symlink
release:
lint test clean
flit publish
format:
python -m black asyncdb
lint:
python -m pylint --rcfile .pylintrc asyncdb/*.py
python -m pylint --rcfile .pylintrc asyncdb/utils/*.py
python -m black --check asyncdb
test:
python -m coverage run -m asyncdb.tests
python -m coverage report
python -m mypy asyncdb/*.py
perf:
python -m unittest -v asyncdb.tests.perf
distclean:
rm -rf .venv