-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (80 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
93 lines (80 loc) · 1.62 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
[project]
name = "crosschat-python"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"aiomonitor>=0.7.1",
"aiomqtt<3.0.0",
"fastapi[standard]>=0.136.1",
"paho-mqtt>=2.1.0",
"pydantic>=2.13.4",
"rich>=15.0.0",
"structlog>=25.5.0",
"uvicorn>=0.46.0",
]
# https://docs.astral.sh/ruff/tutorial/
[tool.ruff.lint]
#select = ["ALL"]
ignore = ["W191","E101"]
per-file-ignores = { }
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
[tool.ruff]
line-length = 120
target-version = "py313"
src = ["src", "tests"]
[tool.ruff.format]
quote-style = "single"
indent-style = "tab"
docstring-code-format = true
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"*.json",
]
[tool.mypy]
strict = false
exclude = ["venv", ".venv"]
ignore_missing_imports = true
allow_untyped_decorators = true
plugins = ["pydantic.mypy"]
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
no_implicit_reexport = true
disallow_untyped_defs = false
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[dependency-groups]
dev = [
"basedpyright>=1.39.3",
"pylance>=4.0.1",
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"ruff>=0.15.12",
"ty>=0.0.34",
]
[tool.ruff.lint.pycodestyle]
max-line-length = 130