forked from MeltanoLabs/target-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (122 loc) · 3.3 KB
/
pyproject.toml
File metadata and controls
138 lines (122 loc) · 3.3 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[project]
name = "meltanolabs-target-postgres"
dynamic = ["version"]
description = "Singer target for Postgres, built with the Meltano SDK for Singer Targets."
authors = [{ name = "Meltano Team and Contributors", email = "hello@meltano.com" }]
requires-python = ">=3.10"
readme = "README.md"
license = "MIT"
license-files = [
"LICENSE",
]
maintainers = [{ name = "Meltano Team and Contributors", email = "hello@meltano.com" }]
keywords = [
"Postgres",
"Singer",
"ELT",
"Meltano",
"Meltano SDK",
]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"paramiko>=4",
"psycopg[binary]==3.3.2",
"psycopg2-binary==2.9.11",
"sqlalchemy~=2.0",
"singer-sdk[sql]~=0.53.0",
]
[project.optional-dependencies]
faker = ["faker>=37.1,<39.0"]
[project.urls]
Homepage = "https://meltano.com"
Repository = "https://github.com/MeltanoLabs/target-postgres"
Documentation = "https://github.com/MeltanoLabs/target-postgres/blob/main/README.md"
[project.scripts]
target-postgres = "target_postgres.target:TargetPostgres.cli"
[dependency-groups]
dev = [
{ include-group = "testing" },
{ include-group = "typing" },
"remote-pdb>=2.1.0",
]
lint = [
"ruff>=0.1.14",
]
testing = [
"pytest>=9",
"meltano-tap-countries",
"meltano-tap-fundamentals",
]
typing = [
"mypy>=1.6.1",
"types-paramiko>=4",
"types-simplejson>=3.19.0.2",
"types-sqlalchemy>=1.4.53.38",
"types-jsonschema>=4.19.0.3",
]
[tool.hatch.version]
fallback-version = "0.0.0"
source = "vcs"
[tool.hatch.build.targets.sdist]
include = ["target_postgres"]
[tool.hatch.build.targets.wheel]
include = ["target_postgres"]
[tool.mypy]
exclude = "tests"
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[build-system]
requires = [
"hatchling==1.28.0",
"hatch-vcs==0.5.0",
]
build-backend = "hatchling.build"
[tool.pytest]
minversion = "9.0"
filterwarnings = [
"error",
"ignore:Exception ignored:pytest.PytestUnraisableExceptionWarning",
]
pythonpath = [
"."
]
[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
"TC", # 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"
[tool.uv]
exclude-newer = "7 days"
required-version = ">=0.9.17"
[tool.uv.sources]
meltano-tap-countries = { git = "https://github.com/meltano/sdk.git", subdirectory = "packages/meltano-tap-countries", rev = "main" }
meltano-tap-fundamentals = { git = "https://github.com/meltano/sdk.git", subdirectory = "packages/meltano-tap-fundamentals", rev = "main" }