-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
121 lines (108 loc) · 2.12 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pyllot"
dynamic = ["version"]
description = "Application routing with event-driven finite-state machine."
readme = "README.md"
requires-python = ">=3.10"
license = "AGPL-3.0-or-later"
keywords = []
authors = [{ name = "tombartk", email = "tom.bartk@proton.me" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
"Typing :: Typed",
]
dependencies = []
[project.urls]
Documentation = "https://pyllot.tombartk.com"
Issues = "https://github.com/tom-bartk/pyllot/issues"
Source = "https://github.com/tom-bartk/pyllot"
[tool.hatch.version]
path = "src/pyllot/__about__.py"
[tool.black]
target-version = ["py311"]
line-length = 90
exclue = ["noxfile.py"]
[tool.mypy]
exclude = ["^noxfile\\.py$"]
[tool.ruff]
target-version = "py311"
line-length = 90
ignore = [
"ANN101",
"ANN102",
"ANN401",
"ANN204",
"ARG001",
"ARG002",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"RUF001",
"PLR0913",
]
unfixable = []
select = [
"D",
"E",
"F",
"I",
"N",
"W",
"C4",
"PT",
"UP",
"ANN",
"ARG",
"C90",
"PLE",
"PLR",
"PLW",
"RUF",
"SIM",
"SLF",
"TRY",
]
exclude = ["noxfile.py"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402"]
"tests/**/*" = [
"ANN001",
"ANN002",
"ANN003",
"ANN201",
"ANN202",
"PLR2004",
"S101",
"TID252",
"SLF001"
]
[tool.ruff.isort]
known-first-party = ["pyllot"]
[tool.ruff.mccabe]
max-complexity = 10
[tool.ruff.pydocstyle]
convention = "google"
[tool.coverage.run]
source_pkgs = ["src.pyllot"]
parallel = true
omit = ["src/pyllot/__about__.py"]
[tool.coverage.paths]
source = ["src"]
tests = ["tests"]
[tool.coverage.report]
exclude_lines = ["def __repr__", "no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]