forked from UKGovernmentBEIS/inspect_ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (27 loc) · 629 Bytes
/
Copy pathMakefile
File metadata and controls
35 lines (27 loc) · 629 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
31
32
33
34
35
.PHONY: hooks
hooks:
pre-commit install
.PHONY: ruff
ruff:
ruff check --fix
ruff format
cd src/inspect_tool_support/src && ruff check --fix
cd src/inspect_tool_support/src && ruff format
.PHONY: mypy
mypy:
mypy --exclude tests/test_package src tests
.PHONY: check
check: ruff mypy suppressions-check
.PHONY: suppressions-check
suppressions-check:
python3 .github/scripts/check_suppressions.py
.PHONY: suppressions-update
suppressions-update:
python3 .github/scripts/check_suppressions.py --update
.PHONY: test
test:
pytest
.PHONY: test-parallel
test-parallel:
pytest -n auto
include docs/evals/inspect-evals.mk