-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (88 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (88 loc) · 2.3 KB
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
[project]
name = "aiosafeconsumer"
dynamic = ["version"]
authors = [
{name = "Kostiantyn Korikov", email = "lostclus@gmail.com"},
]
description = "Safely consume and process data."
readme = "README.rst"
keywords = ["asyncio", "consumer", "microservices"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: No Input/Output (Daemon)",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
license="BSD-2-Clause"
requires-python = ">= 3.10"
dependencies = ["croniter"]
[project.urls]
Repository = "http://github.com/lostclus/aiosafeconsumer"
[project.optional-dependencies]
kafka = ["aiokafka"]
redis = ["redis[hiredis]"]
elasticsearch = ["elasticsearch[async]"]
mongo = ["pymongo"]
postgres = ["asyncpg"]
tests = [
"aiokafka",
"elasticsearch[async]",
"pytest",
"pytest-asyncio",
"pytest-cov",
"redis[hiredis]",
"pymongo",
"asyncpg",
"asyncpg-stubs",
"camel-converter",
]
[build-system]
requires = ["setuptools", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src/"]
[tool.setuptools.package-data]
aiosafeconsumer = ["py.typed"]
[tool.setuptools.dynamic]
version = {attr = "aiosafeconsumer.__version__"}
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
omit = ["kafka_stubs.py"]
[tool.black]
target-version = ["py314"]
[tool.flake8]
exclude = [
"venv/*",
"tox/*",
"docs/*",
"build/*",
]
max-line-length = 88
extend-ignore = ["E203", "W503"]
[tool.isort]
profile = "black"
[tool.mypy]
warn_unused_configs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
strict_equality = true
extra_checks = true