-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
93 lines (82 loc) · 2.14 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
[tool.poetry]
name = "tap-ibm-db2"
version = "0.0.0"
description = "`Tap-DB2` is a Singer tap for IBM DB2 data sources."
authors = ["Daniel Purtov"]
license = "MIT"
readme = "README.md"
homepage = "https://meltano.com"
repository = "https://github.com/danielptv/tap-db2"
documentation = "https://github.com/danielptv/tap-db2/blob/main/README.md"
keywords = [
"DB2",
"IBM DB2",
"ELT",
"Meltano",
"Meltano SDK"
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
packages = [
{ include = "tap_db2" },
]
[tool.poetry.dependencies]
python = ">=3.9"
singer-sdk = "0.42.1"
ibm-db-sa = "0.4.1"
sqlalchemy = "2.0.36"
[tool.poetry.group.dev.dependencies]
pytest = "8.3.4"
faker = "33.1.0"
tox = "4.23.2"
mypy = "1.13.0"
ruff = "0.8.3"
types-sqlalchemy = "1.4.53.38"
types-jsonschema = "4.23.0.20241208"
[tool.mypy]
exclude = "tests"
[build-system]
requires = ["poetry-core==1.8.1", "poetry-dynamic-versioning==1.2.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.scripts]
# CLI declaration
tap-db2 = 'tap_db2.tap:TapDB2.cli'
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"F", # Pyflakes
"W", # pycodestyle warnings
"E", # pycodestyle errors
"FA", # flake8-future-annotations
"I", # isort
"N", # pep8-naming
"D", # pydocsyle
"UP", # pyupgrade
"ICN", # flake8-import-conventions
"RET", # flake8-return
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"PL", # Pylint
"PERF", # Perflint
"RUF", # ruff
]
[tool.ruff.lint.flake8-import-conventions]
banned-from = ["sqlalchemy"]
[tool.ruff.lint.flake8-import-conventions.extend-aliases]
sqlalchemy = "sa"
[tool.ruff.lint.pydocstyle]
convention = "google"