-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
102 lines (86 loc) · 2.01 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
[build-system]
# Minimum requirements for the build system to execute.
requires = [
# sync with setup.py until we discard non-pep-517/518
"setuptools>=45.0",
"setuptools-scm[toml]>=6.2.3",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["heizer"]
[project]
name = "heizer"
dynamic = ["version"]
authors = [
{ name="Yan Zhang", email="dev.claude.yan.zhang@gmail.com" },
]
description = "A python library to easily create kafka producer and consumer"
readme = "README.md"
keywords = ["kafka"]
license = { file="LICENSE" }
requires-python = ">=3.7"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries"
]
dependencies = [
"confluent_kafka",
"typing; python_version<'3.10'",
"typing_extensions; python_version<'3.10'",
]
[project.optional-dependencies]
socket = ["websockets"]
dev = ["pre-commit"]
doc = [
"sphinx",
"sphinx_rtd_theme",
"myst-parser",
"wheel",
"ipython",
"sphinx-multiversion",
"requests",
]
test = [
"pytest",
"pytest-cov",
"pydantic"
]
[project.urls]
"Homepage" = "https://github.com/Claudezss/heizer"
"Bug Tracker" = "https://github.com/Claudezss/heizer/issues"
[tool.isort]
force_grid_wrap=0
include_trailing_comma=true
line_length=120
multi_line_output=3
skip_glob=["env/*", 'docs/*']
profile = "black"
[tool.black]
line_length = 120
max-line-length=120
exclude =[".git", "__pycache__", "venv", "env", 'docs/*']
include = ["heizer/*"]
[tool.mypy]
strict=false
ignore_missing_imports=true
disallow_subclassing_any=false
exclude = ['venv', '.venv', 'tests/*', 'docs/*', 'samples/*']
files = [
"heizer/_source",
"heizer/config.py",
"heizer/errors.py",
"heizer/types.py",
"heizer/__init__.py",
"heizer/__main__.py",
]
[[tool.mypy.overrides]]
module = [
"click.*",
"bin.*"
]
ignore_errors = true
[tool.pytest.ini_options]