-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (64 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
73 lines (64 loc) · 1.74 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
70
71
72
73
[project]
authors = [
{name = "Python Discord", email = "info@pythondiscord.com"},
]
requires-python = "==3.14.*"
dependencies = [
"pydis-core[all]==11.8.0",
"arrow==1.4.0",
"sentry-sdk==2.43.0",
"pydantic==2.12.4",
"pydantic-settings==2.11.0",
]
name = "sir-robin"
version = "0.1.0"
description = ""
[tool.uv]
prerelease = "allow"
required-version = ">=0.9.7"
[dependency-groups]
dev = [
"taskipy==1.14.1",
]
test = [
"hypothesis==6.147.0",
"pytest==8.4.2",
"pytest-asyncio==1.2.0",
]
lint = [
"ruff==0.14.4",
"pre-commit==4.4.0",
]
[tool.taskipy.tasks]
start = "python -m bot"
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
test = "python -m unittest discover"
[tool.ruff]
target-version = "py312"
extend-exclude = [".cache"]
line-length = 120
unsafe-fixes = true
output-format = "concise"
[tool.ruff.lint]
select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "I", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"]
ignore = [
"ANN002", "ANN003", "ANN204", "ANN206", "ANN401",
"B904",
"C401", "C408",
"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", "RUF012", "RUF015",
"S311",
"SIM102", "SIM108",
]
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"__future__.annotations".msg = "No longer required in Python 3.14+, see https://docs.python.org/3/reference/compound_stmts.html#annotations"
[tool.ruff.lint.isort]
order-by-type = false
case-sensitive = true
combine-as-imports = true
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN", "D"]