forked from denysdovhan/ha-yasno-outages
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathjustfile
More file actions
38 lines (27 loc) · 614 Bytes
/
Copy pathjustfile
File metadata and controls
38 lines (27 loc) · 614 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
# https://github.com/casey/just
set dotenv-load
# Set shell for non-Windows OSs:
set shell := ["powershell", "-c"]
# Set shell for Windows OSs:
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
lint:
uv run ruff format .
uv run ruff check --fix
pre:
uv run pre-commit run --all-files
pre-update:
uv run pre-commit autoupdate
install:
uv sync --dev
upgrade:
uv sync --dev --upgrade
test:
uv run pytest
test_e2e:
uv run pytest -m e2e
version VERSION:
uv run script/update_version.py {{VERSION}}
uv lock
# Show available commands
help:
@just --list