-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
61 lines (50 loc) · 1.4 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
[tool.poetry]
name = "target-redshift"
version = "0.1.0"
description = "`target-redshift` is a Singer target for Redshift, built with the Meltano Singer SDK."
readme = "README.md"
authors = ["Tobias Cadee <[email protected]>"]
keywords = [
"ELT",
"Redshift",
]
license = "Apache-2.0"
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
singer-sdk = { version="~=0.43.1" }
fs-s3fs = { version = "~=1.1.1", optional = true }
redshift-connector = "^2.1.5"
boto3 = "^1.36.2"
sqlalchemy-redshift = "^0.8.14"
psycopg2-binary = "^2.9.10"
simplejson = "^3.19.3"
[tool.poetry.dev-dependencies]
pytest = ">=7.4.0"
singer-sdk = { version="~=0.43.1", extras = ["testing"] }
[tool.poetry.extras]
s3 = ["fs-s3fs"]
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.5"
[tool.ruff]
src = ["target_redshift"]
target-version = "py37"
[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_redshift"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = ["poetry-core>=1.0.8"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
# CLI declaration
target-redshift = 'target_redshift.target:TargetRedshift.cli'