-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (65 loc) · 1.31 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
69
70
71
72
73
74
75
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "turn-ring-turn"
version = "0.7.0"
description = ""
authors = ["Lura Skye <[email protected]>"]
readme = "README.rst"
packages = [{include = "trt", from = "src"}]
[tool.poetry.dependencies]
python = ">=3.12"
anyio = ">=4.6.0"
century-ring = {git = "https://github.com/Fuyukai/century-ring.git"}
attrs = ">=24.2.0"
[tool.poetry.group.dev.dependencies]
ruff = ">=0.6.9"
pyright = ">=1.1.383"
pytest = ">=8.3.3"
pytest-cov = ">=5.0.0"
trio = ">=0.26.2"
[tool.pyright]
pythonVersion = "3.12"
include = ["src"]
typeCheckingMode = "strict"
reportImplicitOverride = "warning"
reportUnusedVariable = false
reportIncompatibleVariableOverride = false
reportPrivateUsage = false
[tool.ruff]
target-version = "py312"
respect-gitignore = true
# fix = true
src = ["src/"]
line-length = 100
output-format = "full"
[tool.ruff.lint]
select = [
"RUF",
"F",
"E",
"W",
"I",
"UP",
"B",
"Q",
"YTT",
"PYI",
"SIM",
"RET",
"PERF",
"PIE",
"SIM",
"C4",
# specific docstring rules
"D201", "D204", "D211", "D419", # less ugly docstrings
]
ignore = [
"W291",
"W293",
]
[tool.ruff.lint.per-file-ignores]
"tests/test_*" = ["D"]
[tool.ruff.lint.isort]
combine-as-imports = true