forked from MeltanoLabs/target-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
101 lines (87 loc) · 2.38 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
[tool.poetry]
name = "meltanolabs-target-postgres"
version = "0.0.0"
description = "`target-postgres` is a Singer target for Postgres, built with the Meltano SDK for Singer Targets."
authors = ["Meltano Team and Contributors <hello@meltano.com>"]
maintainers = ["Meltano Team and Contributors <hello@meltano.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://meltano.com"
repository = "https://github.com/meltanolabs/target-postgres"
keywords = [
"Postgres",
"Singer",
"ELT",
"Meltano",
"Meltano SDK",
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"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",
"Programming Language :: Python :: Implementation :: CPython",
]
packages = [
{ include = "target_postgres" }
]
[tool.poetry.dependencies]
python = ">=3.8"
psycopg2-binary = "2.9.9"
sqlalchemy = "~=2.0"
sshtunnel = "0.4.0"
[tool.poetry.dependencies.singer-sdk]
git = "https://github.com/raulbonet/sdk.git"
branch = "main"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.2"
mypy = ">=1.6.1"
remote-pdb = ">=2.1.0"
ruff = ">=0.1.14"
tox = ">=4"
types-paramiko = ">=3.3.0.0"
types-simplejson = ">=3.19.0.2"
types-sqlalchemy = ">=1.4.53.38"
types-jsonschema = ">=4.19.0.3"
[tool.mypy]
exclude = "tests"
[[tool.mypy.overrides]]
module = ["sshtunnel"]
ignore_missing_imports = true
[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
target-postgres = 'target_postgres.target:TargetPostgres.cli'
[tool.pytest.ini_options]
pythonpath = [
"."
]
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
select = [
"F", # Pyflakes
"W", # pycodestyle warnings
"E", # pycodestyle errors
"I", # isort
"N", # pep8-naming
"D", # pydocsyle
"ICN", # flake8-import-conventions
"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"