forked from rendercv/rendercv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
59 lines (40 loc) · 1.21 KB
/
justfile
File metadata and controls
59 lines (40 loc) · 1.21 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
format:
uv run black src tests ; uv run ruff check --fix src tests ; uv run ruff format src tests
format-file target:
uv run -- black {{target}}; uv run -- ruff check --fix {{target}}; uv run -- ruff format {{target}}
lint:
uv run -- ruff check src tests
check-types:
uv run -- pyright src tests
pre-commit:
uv run -- pre-commit run --all-files
count-lines:
wc -l `find src -name '*.py'`
update-schema:
uv run scripts/update_schema.py
update-entry-figures:
uv run scripts/update_entry_figures.py
update-examples:
uv run scripts/update_examples.py
create-executable:
uv run scripts/create_executable.py
profile-render-command:
uv run -- python -m cProfile -o render_command.prof -m rendercv render examples/John_Doe_ClassicTheme_CV.yaml && snakeviz render_command.prof
src-tree:
tree src/rendercv --gitignore
build-docs:
uv run mkdocs build --clean --strict
serve-docs:
uv run mkdocs serve
test:
uv run pytest
test-with-coverage:
uv run -- pytest --cov
report-coverage:
uv run -- pytest --cov --cov-report=html
open video_path:
uv run scripts/open.py {{video_path}}
profile target:
sudo -E uv run py-spy record -o profile.svg python {{target}}
pull-data:
uv run scripts/pull_data.py