-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (26 loc) · 654 Bytes
/
Copy pathMakefile
File metadata and controls
41 lines (26 loc) · 654 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
36
37
38
39
40
41
requirements:
poetry export --without-hashes --extras dev -f requirements.txt > requirements.txt
sync:
poetry install --extras dev --sync
update_lock_only:
poetry update --lock
update: update_lock_only
poetry install --extras dev
.PHONY: requirements sync update update_lock_only
black-check:
black --check .
black-fix:
black .
ruff-check:
ruff check .
ruff-fix:
ruff check . --fix --show-fixes
mypy:
mypy .
.PHONY: black-check black-fix ruff-check ruff-fix mypy
pre-check-in: black-check ruff-check mypy
pre-check-in-fix: black-fix ruff-fix mypy
.PHONY: pre-check-in pre-check-in-fix
test:
python3 -m pytest tests
.PHONY: test