forked from phenobarbital/navigator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (33 loc) · 903 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
venv:
python3.10 -m venv .venv
echo 'run `source .venv/bin/activate` to start develop Navigator'
install:
pip install wheel==0.42.0
pip install -e .
echo 'start Navigator'
develop:
pip install wheel==0.42.0
pip install -e .
python -m pip install -Ur requirements/requirements-dev.txt
# add other dependencies:
pip install --upgrade navigator-session navigator-auth
pip install -e services/aiohttp-cors
echo 'start develop Navigator'
setup:
python -m pip install -Ur requirements/requirements-dev.txt
dev:
flit install --symlink
release: lint test clean
flit publish
format:
python -m black navigator
lint:
python -m pylint --rcfile .pylint navigator/*.py
python -m pylint --rcfile .pylint navigator/libs/*.py
python -m black --check navigator
test:
python -m coverage run -m navigator.tests
python -m coverage report
python -m mypy navigator/*.py
distclean:
rm -rf .venv