-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
44 lines (32 loc) · 824 Bytes
/
Copy pathjustfile
File metadata and controls
44 lines (32 loc) · 824 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
42
43
44
default:
@just --list
clean:
@echo "Cleaning protoss..."
@rm -rf dist build .pytest_cache .ruff_cache __pycache__ .venv test-*
@find . -type d -name "__pycache__" -exec rm -rf {} +
@find . -type d -name ".pytest_cache" -exec rm -rf {} +
install:
@poetry lock
@poetry install
ci:
@poetry run ruff format .
@poetry run ruff check . --fix --unsafe-fixes
@poetry run pytest tests/ -q
trial:
@poetry run python trial_by_fire.py
format:
@poetry run ruff format .
lint:
@poetry run ruff check .
fix:
@poetry run ruff check . --fix --unsafe-fixes
test:
@poetry run pytest tests/
cov:
@poetry run pytest --cov=src/protoss tests/
build:
@poetry build
publish: ci build
@poetry publish
commits:
@git --no-pager log --pretty=format:"%h | %ar | %s"