-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile
43 lines (35 loc) · 913 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
43
lint:
python -m pip install --quiet --upgrade pycln isort ruff yamllint
# python -m yamllint .
python -m ruff check --fix --exit-zero
python -m pycln .
python -m isort .
python -m ruff format opteryx
update:
python -m pip install --upgrade pip
python -m pip install --upgrade -r requirements.txt
python -m pip install --upgrade -r tests/requirements.txt
t:
clear
python tests/sql_battery/test_shapes_and_errors_battery.py
s:
clear
python tests/storage/test_sql_sqlite.py
b:
clear
python scratch/brace.py
test:
clear
export MANUAL_TEST=1
python -m pytest
mypy:
clear
python -m pip install --upgrade mypy
python -m mypy --ignore-missing-imports --python-version 3.10 --no-strict-optional --check-untyped-defs opteryx
coverage:
clear
export MANUAL_TEST=1
python -m coverage run -m pytest
python -m coverage report --include=opteryx/** -m
compile:
python setup.py build_ext --inplace