forked from TransformerLensOrg/TransformerLens
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
19 lines (15 loc) · 648 Bytes
/
makefile
File metadata and controls
19 lines (15 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
format:
poetry run python -m pycln --all . --exclude "__init__.py"
poetry run python -m isort format .
poetry run python -m black .
check-format:
poetry run python -m pycln --check --all . --exclude "__init__.py"
poetry run python -m isort --check-only .
poetry run python -m black --check .
test:
make unit-test
make acceptance-test
unit-test:
poetry run pytest -v --typeguard-packages=transformer_lens --cov=transformer_lens/ --cov-report=term-missing --cov-branch tests/unit
acceptance-test:
poetry run pytest -v --typeguard-packages=transformer_lens --cov=transformer_lens/ --cov-report=term-missing --cov-branch tests/acceptance