-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
83 lines (72 loc) · 2.06 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
[tool.poetry]
name = "shaped-ai-tap-iceberg"
version = "0.0.1"
description = "`tap-iceberg` is a Singer tap for Iceberg, built with the Meltano Singer SDK."
readme = "README.md"
authors = ["Ben Theunissen <[email protected]>"]
keywords = [
"ELT",
"Iceberg",
]
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"
]
license = "Apache-2.0"
packages = [
{ include = "tap_iceberg" },
]
[tool.poetry.dependencies]
python = ">=3.8,<3.12,!=3.9.7"
importlib-resources = { version = "==6.4.*", python = "<3.9" }
singer-sdk = { version = "~=0.38.0", extras = ["faker",] }
fs-s3fs = { version = "~=1.1.1", optional = true }
pyiceberg = { git = "https://github.com/shaped-ai/iceberg-python", branch = "main", extras = ["s3fs", "glue", "hive", "sql-sqlite"] }
pyarrow = { version = "~17.0.0" }
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.0"
singer-sdk = { version="~=0.38.0", extras = ["testing"] }
[tool.poetry.extras]
s3 = ["fs-s3fs"]
[tool.mypy]
python_version = "3.11"
warn_unused_configs = true
[tool.ruff]
src = ["tap_iceberg"]
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
"D100", # missing-docstring
"D102", # missing-module-docstring
"PLR0911", # missing-return-type
"PLR0912",
"PLR2004",
"C901", # complex code
"PTH103",
"PTH110",
"BLE001",
"S101",
"S110",
"RET505",
]
select = ["ALL"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.isort]
known-first-party = ["tap_iceberg"]
[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
tap-iceberg = 'tap_iceberg.tap:TapIceberg.cli'