-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (25 loc) · 697 Bytes
/
Makefile
File metadata and controls
30 lines (25 loc) · 697 Bytes
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
build:
rm -rf build/ dist/
# python utils/build-pyx-files.py
python setup.py build_ext --inplace
python setup.py bdist_wheel
setenv:
python3.7 -m venv venv
. venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install -r test-requirements.txt
pip install -r dev-requirements.txt
test:
pytest -n auto
linter:
black -l 100 .
isort --profile black --line-length 100 caqui tests
flake8 --exclude venv*,.tox,build,*/test_process_data.py --max-line-length 100
mypy caqui tests --config=pyproject.toml
coverage:
coverage run --source='caqui' -m pytest -n auto
coverage report
coverage html
clear:
rm -rf build/ dist/ *.egg-info
python utils/cleanup-cython-files.py