-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
75 lines (65 loc) · 1.3 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 = "stickney"
version = "0.7.3"
description = "Asynchronous websockets library"
authors = ["Lura Skye <[email protected]>"]
readme = "README.rst"
packages = [{include = "stickney", from = "src"}]
license = "LGPL-3.0-or-later"
[tool.poetry.dependencies]
python = ">=3.12"
wsproto = ">=1.2.0"
anyio = "^4.1.0"
attrs = ">=23.1.0"
[tool.poetry.group.dev.dependencies]
trio = ">=0.22.2"
pytest = ">=7.4.3"
pytest-cov = ">=4.1.0"
ruff = ">=0.1.5"
mypy = ">=1.7.0"
pyright = "^1.1.339"
[tool.ruff]
target-version = "py312"
respect-gitignore = true
# fix = true
src = ["src/chiru"]
line-length = 100
show-source = true
select = [
"RUF",
"F",
"E",
"W",
"I",
"UP",
"B",
"YTT",
"ASYNC",
"TRIO",
"PYI",
"SIM",
"RET",
"PERF",
]
ignore = [
"W291", # SHUT THE FUCK UP WHEN I'M TYPING COMMENTS
"W293",
]
[tool.ruff.isort]
combine-as-imports = true
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
local_partial_types = true
warn_unused_ignores = true
warn_unused_configs = true
warn_redundant_casts = true
warn_return_any = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
check_untyped_defs = true