-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (57 loc) · 1.6 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
[tool.poetry]
name = "target-kafka"
version = "0.1.1"
description = "`target-kafka` is a Singer target for Kafka, built with the Meltano Singer SDK."
readme = "README.md"
authors = ["Reid LAI <reidlai@gmail.com>"]
keywords = [
"ELT",
"Kafka",
]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
license = "Apache-2.0"
packages = [
{ include = "target_kafka" },
]
[tool.poetry.dependencies]
python = ">=3.8"
singer-sdk = { version="~=0.37.0", extras = ["faker"] }
fs-s3fs = { version = "~=1.1.1", optional = true }
requests = "~=2.31.0"
kafka-python = "^2.0.2"
[tool.poetry.dev-dependencies]
pytest = ">=7.4.0"
singer-sdk = { version="~=0.37.0", extras = ["testing"] }
[tool.poetry.extras]
s3 = ["fs-s3fs"]
[tool.ruff]
src = ["target_kafka"]
target-version = "py38"
[tool.ruff.lint]
ignore = [
"ANN101", # missing-type-self
"ANN102", # missing-type-cls
"COM812", # missing-trailing-comma
"ISC001", # single-line-implicit-string-concatenation
]
select = ["ALL"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.isort]
known-first-party = ["target_kafka"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = ["poetry-core==1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
# CLI declaration
target-kafka = 'target_kafka.target:Targetkafka.cli'