-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (80 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
91 lines (80 loc) · 1.8 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[project]
name = "hikari-gitbot"
version = "0.0.0"
description = "A bot for managing GitHub issues and PRs on Discord."
readme = "README.md"
license = "GPL-3.0"
authors = [
{ name = "hypergonial", email = "git@hypergonial.com" },
{ name = "rayakame", email = "github.android206@passmail.net" },
]
maintainers = [
{ name = "hypergonial", email = "git@hypergonial.com" },
{ name = "rayakame", email = "github.android206@passmail.net" },
]
requires-python = ">=3.13"
dependencies = [
"hikari-arc>=2.0.0",
"hikari[speedups]>=2.2.0",
"python-dotenv>=1.0.1",
]
[dependency-groups]
dev = [
"nox>=2025.2.9",
"pyright>=1.1.397",
"ruff>=0.11",
"typing-extensions>=4.12",
"uv>=0.6",
"colorama>=0.4.6; sys_platform == 'win32'",
]
[tool.ruff]
exclude = ["build"]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"TCH",
"C",
"N",
"D2",
"D3",
"D415",
"D417",
"D418",
"D419",
"ASYNC",
"Q",
"RSE",
"SIM",
"RUF",
]
ignore = ["F405", "F403", "E501", "D205"]
fixable = ["I", "TCH", "D", "RUF"]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.format]
skip-magic-trailing-comma = true
[tool.slotscheck]
strict-imports = true
require-superclass = false
require-subclass = true
exclude-classes = ":.*(Exception|Error|Proto|AutocompleteData)"
[tool.mypy]
ignore_errors = true
[tool.uv]
required-version = "~=0.6"
[tool.pyright]
pythonVersion = "3.13"
typeCheckingMode = "strict"
reportPrivateUsage = false
reportMissingTypeStubs = true
reportUnnecessaryTypeIgnoreComment = "warning"
reportUninitializedInstanceVariable = "error"
reportShadowedImports = "warning"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"