-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (54 loc) · 1.36 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (54 loc) · 1.36 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
[project]
name = "python-template"
version = "1.2.0"
description = "A template project for Python applications."
authors = [
{name = "Chris Lovering", email = "python-template@chrisjl.dev"},
{name = "Fredrick L.", email = "fredrick@pydis.wtf"},
]
license = {text = "MIT"}
requires-python = "~=3.14.0"
dependencies = [
"pydantic",
"pydantic-settings",
]
[tool.uv]
required-version = ">=0.9.7"
[dependency-groups]
linting = [
"prek",
"ruff",
]
dev = [
{include-group = "linting"},
]
[tool.ruff]
target-version = "py314"
extend-exclude = [".cache"]
line-length = 120
unsafe-fixes = true
output-format = "concise"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN002", "ANN003", "ANN204", "ANN206", "ANN401",
"B904",
"C401", "C408",
"CPY001",
"D100", "D104", "D105", "D107", "D203", "D212", "D214", "D215", "D301",
"D400", "D401", "D402", "D404", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D412", "D413", "D414", "D416", "D417",
"E731",
"RET504",
"RUF005",
"S311",
"SIM102", "SIM108",
"PD",
"PLR0913", "PLR0917", "PLR6301",
"DTZ003",
# Rules suggested to be ignored when using ruff format
"COM812", "D206", "E111", "E114", "E117", "E501", "ISC001", "Q000", "Q001", "Q002", "Q003", "W191",
]
[tool.ruff.lint.isort]
order-by-type = false
case-sensitive = true
combine-as-imports = true