-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (58 loc) · 1.06 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
65
66
67
68
[build-system]
requires = ["python>=3.11"]
[tool.black]
target-version = ['py311']
exclude = '\.venv|\.git'
line-length=79
[tool.mypy]
strict = false
exclude = [
"^venv/.*$",
"^migrations/.*$",
"^tests/.*$",
"^scripts/.*$",
]
plugins = [
"sqlalchemy.ext.mypy.plugin",
"pydantic.mypy"
]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[[tool.mypy.overrides]]
module = "aiogram.*,apscheduler.*"
ignore_missing_imports = true
[tool.ruff]
exclude = [
".git",
"__pycache__",
".pytest_cache",
".mypy_cache",
".ruff_cache",
"venv",
".venv",
".env",
".idea",
".vscode",
"logs",
"photos",
]
line-length = 79
target-version = "py311"
[tool.ruff.format]
quote-style = "double"
skip-magic-trailing-comma = false
[tool.ruff.lint.isort]
case-sensitive = true
[tool.ruff.lint]
ignore = []
[tool.ruff.extend-per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = [
"tests",
]
python_files = "test_*.py"
pythonpath = ["."]