-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
64 lines (56 loc) · 1.15 KB
/
pyproject.toml
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
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
python = ">=3.12,<3.14"
python-dotenv = "^1.0.1"
aiogram = "^3.17.0"
sqlalchemy = "^2.0.37"
psycopg = "^3.2.4"
spotdl = "^4.2.11"
asyncer = "^0.0.8"
[tool.poetry.group.dev.dependencies]
ruff = "^0.9.3"
mypy = "1.13.0"
[tool.mypy]
strict = true
ignore_missing_imports = true
disallow_untyped_decorators = false
disallow_subclassing_any = false
warn_unreachable = true
warn_no_return = true
warn_return_any = false
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"T20", # flake8-print
"INT", # flake8-gettext
]
ignore = [
"E501", # line too long, handled by black
"W191", # indentation contains tabs
]
[tool.ruff.lint.isort]
section-order = [
"future",
"aiogram",
"sqlalchemy",
"third-party",
"first-party",
"local-folder",
"standard-library",
]
from-first = true
[tool.ruff.lint.isort.sections]
aiogram = ["aiogram"]
sqlalchemy = ["sqlalchemy"]
[tool.ruff.format]
quote-style = "single"