-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
224 lines (204 loc) · 5.55 KB
/
pyproject.toml
File metadata and controls
224 lines (204 loc) · 5.55 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
backend-path = ["."]
[project]
name = "tanjun_5.0"
version = "1.1.1"
description = "The Officila Tanjun Discord Bot!"
readme = "README.md"
requires-python = ">=3.12"
license = {file = "LICENSE.txt"}
authors = [
{name = "EntchenEric", email = "eseidel2004@gmail.com"},
{name = "Arion2000", email = "github@arion2000.xyz"}
]
dependencies = [
"pywin32==311; sys_platform == 'win32'",
"aiohappyeyeballs==2.6.1",
"aiohttp==3.13.4",
"aiomysql==0.3.0",
"aiosignal==1.3.2",
"akinator-python==1.6.0",
"annotated-types==0.7.0",
"anyio==4.9.0",
"asttokens==3.0.0",
"asyncmy==0.2.10", # This is already listed
"attrs==25.3.0",
"backcall==0.2.0",
"beautifulsoup4==4.13.4",
"bleach==6.2.0",
"certifi==2025.4.26",
"cffi==1.17.1",
"charset-normalizer==3.4.2",
"colorama==0.4.6",
"contourpy==1.3.2",
"cryptography==44.0.3",
"cycler==0.12.1",
"decorator==5.2.1",
"defusedxml==0.7.1",
"Deprecated==1.2.18",
"discord.py==2.5.2",
"distro==1.9.0",
"docopt==0.6.2",
"executing==2.2.0",
"fastjsonschema==2.21.1",
"fonttools==4.60.2",
"frozenlist==1.6.0",
"h11==0.16.0",
"httpcore==1.0.9",
"httpx==0.28.1",
"idna==3.10",
"jedi==0.19.2",
"Jinja2==3.1.6",
"jiter==0.9.0",
"jsonschema==4.23.0",
"jsonschema-specifications==2025.4.1",
"jupyter_client==8.6.3",
"jupyter-core==5.8.1",
"jupyterlab_pygments==0.3.0",
"kiwisolver==1.4.8",
"MarkupSafe==3.0.2",
"matplotlib==3.10.1",
"matplotlib-inline==0.1.7",
"mistune==3.1.3",
"mpmath==1.3.0",
"multidict==6.4.3",
"mysql-connector-python==9.2.0",
"nbclient==0.10.2",
"nbconvert==7.17.1",
"nbformat==5.10.4",
"num2words==0.5.14",
"numpy==2.2.5",
"openai==1.69.0",
"packaging==25.0",
"pandocfilters==1.5.1",
"parso==0.8.4",
"pickleshare==0.7.5",
"pillow==12.2.0",
"platformdirs==4.3.7",
"prompt_toolkit==3.0.51",
"propcache==0.3.1",
"pure_eval==0.2.3",
"pycparser==2.22",
"pydantic==2.11.1",
"pydantic_core==2.33.0",
"PyGithub==2.6.1",
"Pygments==2.19.1",
"PyJWT==2.12.0",
"PyMySQL==1.1.1",
"PyNaCl==1.6.2",
"pyparsing==3.2.3",
"python-dateutil==2.9.0.post0",
"python-dotenv==1.2.2",
"pyzmq==26.4.0",
"referencing==0.36.2",
"requests==2.33.0",
"rpds-py==0.24.0",
"scipy==1.15.2",
"six==1.17.0",
"sniffio==1.3.1",
"soupsieve==2.7",
"stack-data==0.6.3",
"sympy==1.14.0",
"tinycss2==1.4.0",
"tornado==6.5.5",
"tqdm==4.67.1",
"traitlets==5.14.3",
"twitchAPI==4.4.0",
"typing_extensions==4.13.2",
"urllib3==2.6.3",
"wcwidth==0.2.13",
"webencodings==0.5.1",
"wrapt==1.17.2",
"yarg==0.1.10",
"yarl==1.20.0",
"rembg",
]
[project.urls]
"Homepage" = "https://docs.tanjun.bot/"
"Repository" = "https://github.com/TanjunBot/new_tanjun"
"Bug Tracker" = "https://github.com/TanjunBot/new_tanjun/issues"
[tool.ruff]
target-version = "py312"
line-length = 127
# E = pycodestyle errors
# W = pycodestyle warnings
# F = Pyflakes
# I = isort
# C901 = McCabe complexity
# UP = pyupgrade
# A = flake8-builtins
# B = flake8-bugbear
# SIM = flake8-simplify
# TID = flake8-tidy-imports
# N = pep8-naming
# ANN = flake8-annotations (for type hint checking)
[tool.ruff.lint]
select = ["E", "W", "F", "I", "C901", "UP", "A", "B", "SIM", "TID", "N", "ANN"]
# dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.mccabe]
max-complexity = 20
[tool.ruff.format]
# Zeilenlänge für den Formatter
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
[tool.ruff.lint.flake8-annotations]
# To allow *args: Any and **kwargs: Any without forcing more specific types (disables ANN002, ANN003 for Any):
allow-star-arg-any = true
# To suppress errors for functions that don't return a value (e.g. __init__)
# not having a '-> None' annotation (disables ANN201, ANN202, ANN204, ANN205 in such cases).
suppress-none-returning = true
# Note: The 'mypy-init-only' option from older versions of flake8-annotations
# (which allowed omitting annotations in __init__ if it only called super())
# does not have a direct equivalent in Ruff's flake8-annotations settings.
#
# To ignore a specific rule like ANN205 (Missing return type annotation for __init__ if not None)
# project-wide, you would add it to the main 'ignore' list under '[tool.ruff.lint]', for example:
# (in [tool.ruff.lint] section)
# ignore = ["ANN205"]
[tool.mypy]
ignore_missing_imports = true
strict_optional = false
extra_checks = false
disallow_any_expr = false
disallow_any_explicit = false
local_partial_types = false
allow_untyped_globals = true
warn_no_return = false
warn_unused_configs = false
disallow_any_decorated = false
disallow_any_unimported = false
disallow_any_generics = false
disallow_subclassing_any = false
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = false
disallow_untyped_decorators = false
no_implicit_reexport = false
warn_redundant_casts = false
warn_unused_ignores = false
warn_return_any = false
warn_unreachable = false
strict_equality = false
enable_error_code = []
disable_error_code = [
"attr-defined",
"name-defined",
"unused-ignore",
"no-any-unimported",
"assignment",
"var-annotated",
"call-overload",
"return-value",
"no-any-return",
"unreachable",
"call-arg"
]
exclude = [
'^\\.venv.*/',
'^\\.git/',
'^\\.mypy_cache/',
'^\\.github/'
]