-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
27 lines (22 loc) · 607 Bytes
/
Copy pathmise.toml
File metadata and controls
27 lines (22 loc) · 607 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
[tools]
biome = "latest"
python = "3.13"
uv = "latest"
[tasks.ruff]
run = ["uv run ruff format", "uv run ruff check --fix"]
[tasks.ty]
run = "uv run ty check --fix"
[tasks.pytest]
run = "uv run pytest"
[tasks.biome]
run = "biome check --verbose"
[tasks.docker_build]
run = "docker build -t 'ghcr.io/yaleman/github_linter:latest' ."
[tasks.docker_run]
depends = ["docker_build"]
run = """docker run --rm -it \
-p 8000:8000 \
--env-file .envrc -e "GITHUB_TOKEN=${GITHUB_TOKEN}" \
'ghcr.io/yaleman/github_linter:latest'"""
[tasks.check]
depends = ["ruff", "ty", "pytest", "biome"]