-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathJustfile
More file actions
32 lines (25 loc) · 740 Bytes
/
Justfile
File metadata and controls
32 lines (25 loc) · 740 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
# 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 Code Format for Python files
format-python-code:
ruff check --select I --fix .
ruff format .
# Fix and Check Lint for Python files
lint-python: format-python-code
ruff check --fix .
ruff check .
# Pre Push Checks - intended to be run by a git pre-push hook.
pre-push: check-markdown check-spelling format-python-code lint-python
# Preview docs locally
preview-docs:
earthly/docs/dev/local.py cat-ci-docs:latest