-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
137 lines (122 loc) · 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[tool.poetry]
name = "asyncly"
version = "0.3.3"
description = "Simple HTTP client and server for your integrations based on aiohttp"
authors = ["Sergey Natalenko <sergey.natalenko@mail.ru>"]
license = "MIT"
homepage = "https://github.com/andy-takker/asyncly"
readme = "README.rst"
keywords = ["aiohttp", "http", "client"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Framework :: Pytest",
"Framework :: aiohttp",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
]
packages = [
{ include = "asyncly" },
]
[tool.poetry.urls]
"Source" = "https://github.com/andy-takker/asyncly"
"Bug Tracker" = "https://github.com/andy-takker/asyncly/issues"
[tool.poetry.dependencies]
python = "^3.10"
aiohttp = "^3.9.5"
msgspec = {version = "^0.18.6", optional = true}
orjson = {version = "^3.10.6", optional = true}
pydantic = {version = "^2.8.2", optional = true}
[tool.poetry.extras]
msgspec = ["msgspec"]
pydantic = ["pydantic"]
orjson = ["orjson"]
[tool.poetry.group.dev.dependencies]
pre-commit = ">=3.7.1,<5.0.0"
mypy = "^1.10.1"
ruff = ">=0.5.2,<0.9.0"
restructuredtext-lint = "^1.4.0"
pygments = "^2.18.0"
pytest = "^8.3.3"
pytest-asyncio = "^0.24.0"
pytest-cov = "^6.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
python_files = "test_*"
python_functions = "test_*"
python_classes = "TestSuite*"
addopts = "-p no:cacheprovider"
[tool.coverage.run]
branch = true
source = ["asyncly"]
command_line = "-m pytest"
[tool.coverage.report]
show_missing = true
[tool.coverage.xml]
output = "coverage.xml"
[tool.ruff]
line-length = 88
exclude = [
".git",
".mypy_cache",
".ruff_cache",
".venv",
]
indent-width = 4
target-version = "py310"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
select = [
"BLE",
"C90",
"E",
"F",
"G",
"I",
"ICN",
"ISC",
"PLE",
"Q",
"RUF006",
"RUF100",
"T10",
"T20",
"TID",
"UP",
"W",
]
ignore = ["ISC001"]
fixable = ["ALL"]
[tool.ruff.lint.isort]
known-first-party = ["asyncly", "tests"]
[tool.mypy]
plugins = ["pydantic.mypy"]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = false
no_implicit_optional = true
[[tool.mypy.overrides]]
module = [
"msgspec.*",
"orjson.*",
]
ignore_missing_imports = true