-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathmise.toml
More file actions
39 lines (32 loc) · 935 Bytes
/
mise.toml
File metadata and controls
39 lines (32 loc) · 935 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
39
[tools]
python = "3.13"
node = "latest"
"pipx:commitizen" = "latest"
"pipx:pre-commit" = "latest"
"pipx:ruff" = "latest"
"pipx:ruff-lsp" = "latest"
uv = "0.10.4"
[env]
_.python.venv = ".venv"
[tasks."format:check"]
alias = "formatcheck"
raw = true
run = ["uv run ruff check --select I", "uv run ruff format --check --diff"]
description = "Check code format and imports sorting"
[tasks."format:fix"]
alias = "format"
raw = true
run = ["uv run ruff check --select I --fix", "uv run ruff format"]
description = "Format code and sort imports"
[tasks."lint:check"]
run = "uv run ruff check"
description = "Lint code using Flake8 rules via ruff"
[tasks."lint:fix"]
run = ["uv run ruff check --fix"]
[tasks."type:check"]
alias = "typecheck"
run = "uv run mypy packages/"
description = "Check type hints with mypy"
[tasks.check]
depends = ["format:check", "lint:check", "type:check"]
description = "Run all checks (format, lint, type)"