-
Notifications
You must be signed in to change notification settings - Fork 493
/
pyproject.toml
59 lines (53 loc) · 1.18 KB
/
pyproject.toml
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
[project]
name = "chezmoi"
version = "2.52.2"
requires-python = ">=3.10"
license = { text = "MIT" }
[tool.uv]
dev-dependencies = [
"ruff==0.6.7",
"mkdocs-material==9.5.34",
"mkdocs-mermaid2-plugin==1.1.1",
"mkdocs==1.6.1",
"pymdown-extensions==10.10.1",
"ruamel-yaml==0.18.6",
"taskipy==1.13.0",
]
[tool.taskipy.tasks]
build-docs = { cmd = "mkdocs build -f assets/chezmoi.io/mkdocs.yml" }
serve-docs = { cmd = "mkdocs serve -f assets/chezmoi.io/mkdocs.yml" }
deploy-docs = { cmd = "cd assets/chezmoi.io && mkdocs gh-deploy" }
lint = { cmd = "ruff check" }
format = { cmd = "ruff format" }
pycheck = { cmd = "task lint && task format --diff" }
pyfix = { cmd = "task lint --fix && task format" }
format-yaml = { cmd = "./assets/scripts/format-yaml.py" }
[tool.ruff]
include = [
"pyproject.toml",
"assets/chezmoi.io/docs/hooks.py",
"assets/chezmoi.io/docs/shortcodes.py",
"assets/scripts/format-yaml.py",
]
target-version = "py310"
[tool.ruff.lint]
extend-select = [
"A",
"B",
"E",
"F",
"I",
"W",
"ANN",
"COM",
"FA",
"UP",
"PL",
"PTH",
"SIM",
]
ignore = ["ANN003", "COM812"]
[tool.ruff.format]
quote-style = "single"
[tool.uv.workspace]
members = ["chezmoi"]