-
Notifications
You must be signed in to change notification settings - Fork 110
/
makefile
32 lines (24 loc) · 618 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
format:
poetry run black .
poetry run isort .
check-format:
poetry run flake8 .
poetry run black --check .
poetry run isort --check-only --diff .
check-type:
poetry run pyright .
test:
make unit-test
make acceptance-test
unit-test:
poetry run pytest -v --cov=sae_lens/ --cov-report=term-missing --cov-branch tests/unit
acceptance-test:
poetry run pytest -v --cov=sae_lens/ --cov-report=term-missing --cov-branch tests/acceptance
check-ci:
make check-format
make check-type
make unit-test
docstring-coverage:
poetry run docstr-coverage sae_lens --skip-file-doc
docs-serve:
poetry run mkdocs serve