-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
111 lines (97 loc) · 2.64 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
[tool.poetry]
name = "types-confluent-kafka"
version = "1.2.1"
description = ""
authors = ["benbenbang <bn@bitbrew.dev>"]
license = "Apache-2.0 license"
readme = "README.md"
repository = "https://github.com/benbenbang/types-confluent-kafka"
packages = [
{ include = "confluent_kafka-stubs" }
]
exclude = [
"confluent_kafka-stubs/__init__.py"
]
keywords = ["types", "typings", "stubs", "confluent_kafka", "mypy", "lsp", "completion", "type hints", "type checking"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
confluent-kafka = {extras = ["avro"], version = "^2.2.0"}
pyright = "^1.1.338"
mypy = "^1.5.0"
types-requests = "^2.31.0.2"
[tool.poetry.group.lint.dependencies]
pylint = "^2.17.5"
ruff = "^0.0.284"
pre-commit = "^3.3.3"
[tool.poetry.group.publish.dependencies]
twine = "^4.0.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.format]
max-line-length = 120
[tool.pylint.messages_control]
disable = [
"all"
]
enable = [
"consider-using-f-string",
"cyclic-import",
"deprecated-module",
"f-string-without-interpolation",
"import-error",
"import-self",
"undefined-variable",
"undefined-all-variable",
"unused-format-string-argument",
"unused-format-string-key",
"unused-import",
# This might be unused but a mandatory signature in airflow runtime
# "unused-argument",
"unused-wildcard-import",
"unused-variable",
"used-before-assignment",
"use-list-literal",
"raise-missing-from",
"simplifiable-condition",
"simplify-boolean-expression",
"super-with-arguments",
"wrong-spelling-in-comment",
"wrong-spelling-in-docstring",
]
[tool.pylint.format]
max-line-length = 120
[tool.pytest.ini_options]
addopts = '--basetemp=/tmp/pytest'
# switch on `-s` for deep debuging
# addopts = '-s --basetemp=/tmp/pytest'
filterwarnings = []
testpaths = []
markers = []
[tool.mypy]
ignore_missing_imports=true
warn_unreachable=true
enable_incomplete_feature="Unpack"
[tool.black]
exclude = '''
(\
| .venv
| .cache
| confluent-kafka-python
)/
'''