-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (72 loc) · 1.28 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
76
77
78
79
80
81
82
83
84
85
[tool.poetry]
name = "aqute"
# We have dynamic versioning based on tags in Github
version = "0.0.0"
description = "Async QUeue Task Engine"
authors = ["Mikhail Dengin <[email protected]>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/insomnes/aqute"
keywords = ["asyncio", "producer-consumer", "ratelimiting"]
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.3.2"
pytest-asyncio = "^0.23.8"
[tool.poetry.group.lint]
optional = true
[tool.poetry.group.lint.dependencies]
ruff = "^0.5.6"
mypy = "^1.11.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
show_error_codes = true
exclude = [
"tests",
"tmp",
]
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py39"
extend-exclude = [".git", "data"]
force-exclude = true
[tool.ruff.lint]
extend-select = [
"ARG",
"B",
"E",
"F",
"I",
"N",
"W",
"ASYNC",
"C4",
"C90",
"ERA",
"NPY",
"PERF",
"PL",
"PTH",
"RET",
"RUF",
"SIM",
"T20",
"UP",
]
ignore = [
"PLR0913",
]
[tool.ruff.lint.per-file-ignores]
"aqute/ratelimiter.py" = [
"ARG002",
]
"tests/**.py" = [
"C4",
"PLR",
"PERF",
]