-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
112 lines (97 loc) · 2.68 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
102
103
104
105
106
107
108
109
110
111
112
[tool.poetry]
name = "meltanolabs-target-postgres"
version = "0.0.0"
description = "Singer target for Postgres, built with the Meltano SDK for Singer Targets."
authors = ["Meltano Team and Contributors <[email protected]>"]
maintainers = ["Meltano Team and Contributors <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://meltano.com"
repository = "https://github.com/MeltanoLabs/target-postgres"
documentation = "https://github.com/MeltanoLabs/target-postgres/blob/main/README.md"
keywords = [
"Postgres",
"Singer",
"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 = "target_postgres" }
]
[tool.poetry.dependencies]
python = ">=3.9"
faker = {version = "~=30.0", optional = true}
psycopg2-binary = "2.9.10"
sqlalchemy = "~=2.0"
sshtunnel = "0.4.0"
[tool.poetry.dependencies.singer-sdk]
version = "~=0.42.0b1"
[tool.poetry.extras]
faker = ["faker"]
[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.9,<2", "poetry-dynamic-versioning>=1.4,<2"]
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 = "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"