-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathJustfile
More file actions
34 lines (26 loc) · 735 Bytes
/
Justfile
File metadata and controls
34 lines (26 loc) · 735 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
# use with https://github.com/casey/just
#
# Developer convenience functions
default:
@just --list --unsorted
# Fix and Check Markdown files
check-markdown:
earthly +markdown-check-fix
# Check Spelling
check-spelling:
earthly +clean-spelling-list
earthly +check-spelling
# Fix and Check Markdown files
format-python-code:
ruff check --select I --fix .
ruff format .
# Fix and Check Markdown files
lint-python: format-python-code
ruff check --fix .
ruff check .
# generates specifications data
gen_specs:
just specs/pre-push
# Pre Push Checks - intended to be run by a git pre-push hook.
pre-push: gen_specs check-markdown check-spelling format-python-code lint-python
just rust/pre-push