-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
39 lines (30 loc) · 811 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
venv:
python3.11 -m venv .venv
echo 'run `source .venv/bin/activate` to start develop Navigator'
install:
pip install -e .
echo 'start Navigator'
develop:
pip install -e .
python -m pip install -Ur requirements/requirements-dev.txt
# add other dependencies:
pip install --upgrade navigator-session navigator-auth
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