-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (61 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
65 lines (61 loc) · 1.53 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
[project]
name = "birminghack-bot"
version = "0.1.0"
description = "Discord bot used for birmingHack verification"
readme = "README.md"
requires-python = "==3.13.*"
authors = [ { name = "CSSUoB" } ]
license = { text = "MIT" }
keywords = ["discord", "bot", "birminghack"]
[dependency-groups]
main = [
"py-cord==2.6.1",
"pyyaml>=6.0.3",
"requests==2.32.3",
"audioop-lts; python_version > '3.12'",
"python-logging-discord-handler>=0.1.5",
]
dev = [
"mypy>=1.18.2",
"ruff>=0.12",
"types-pyyaml>=6.0.12.20250915",
"types-requests>=2.32.4.20250913",
]
[tool.mypy]
check_untyped_defs = true
disallow_any_decorated = true
disallow_any_explicit = true
disallow_any_generics = true
disallow_any_unimported = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
enable_error_code = [
"deprecated",
"explicit-override",
"ignore-without-code",
"mutable-override",
"narrowed-type-not-subtype",
"possibly-undefined",
"redundant-expr",
"redundant-self",
"truthy-bool",
"truthy-iterable",
"unused-awaitable",
]
extra_checks = true
mypy_path = "stubs"
no_implicit_reexport = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.uv]
default-groups = ["dev", "main"]
[tool.ruff.lint.per-file-ignores]
"stubs/discord/**/*.pyi" = ["F403"]
"stubs/discord/commands/__init__.pyi" = ["F405"]