-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
69 lines (55 loc) · 1.59 KB
/
Copy pathmise.toml
File metadata and controls
69 lines (55 loc) · 1.59 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[tools]
python = "3.13"
[env]
_.python.venv = { path = ".venv", create = true, uv_create_args = [
"--system-site-packages",
"--seed",
] }
[tasks.setup]
description = "Install dependencies and set up the project"
run = "uv sync"
[tasks."setup:dev"]
description = "Install dependencies including dev group"
run = "uv sync --group dev"
[tasks.install]
depends = ["setup"]
description = "Install package in development mode"
run = "uv pip install -e ."
[tasks.lint]
description = "Check code with ruff"
run = "ruff check ."
[tasks."lint:fix"]
description = "Fix auto-fixable linting issues"
run = "ruff check --fix ."
[tasks.format]
description = "Format code with ruff"
run = "ruff format ."
[tasks."format:check"]
description = "Check code formatting without modifying files"
run = "ruff format --check ."
[tasks.check]
description = "Run all code quality checks"
run = ["ruff check .", "ruff format --check ."]
[tasks.fix]
description = "Fix and format all code"
run = ["ruff check --fix .", "ruff format ."]
[tasks.run]
description = "Run the case parser (usage: mise run -- input.xlsx output.xlsx)"
run = "python main.py"
[tasks.clean]
description = "Clean up generated files and caches"
run = """
rm -rf .venv
rm -rf .ruff_cache
rm -rf dist
rm -rf build
rm -rf *.egg-info
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name '*.pyc' -delete
"""
[tasks.process-all]
description = "Run the case parser on all Excel files in the input directory"
run = "python batch_process.py"
[tasks.sort-cases]
description = "Sort cases in the input Excel file and save to output"
run = "python sort_logs.py"