-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpyproject.toml
129 lines (114 loc) · 2.91 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[project]
name = "meltanolabs-tap-postgres"
dynamic = ["version"]
description = "Singer tap for Postgres, built with the Meltano SDK for Singer Targets."
authors = [{ name = "Meltano Team and Contributors", email = "hello@meltano.com" }]
requires-python = ">=3.9"
readme = "README.md"
license = "MIT"
maintainers = [{ name = "Meltano Team and Contributors", email = "hello@meltano.com" }]
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",
]
dependencies = [
"psycopg2-binary==2.9.10",
"sqlalchemy==2.0.40",
"sshtunnel==0.4.0",
"singer-sdk[faker]~=0.45.7",
]
[project.urls]
Homepage = "https://meltano.com"
Repository = "https://github.com/MeltanoLabs/tap-postgres"
Documentation = "https://github.com/MeltanoLabs/tap-postgres/blob/main/README.md"
[project.scripts]
tap-postgres = "tap_postgres.tap:TapPostgres.cli"
[dependency-groups]
dev = [
{ include-group = "lint" },
{ include-group = "testing" },
{ include-group = "typing" },
]
lint = [
"ruff~=0.11.0",
]
testing = [
"hypothesis>=6.122.1",
"pytest>=8",
"singer-sdk[testing]~=0.45.7",
]
typing = [
"mypy>=1.8.0",
"types-paramiko>=3.3.0.0",
"types-simplejson>=3.19.0.2",
"types-sqlalchemy>=1.4.53.38",
"types-jsonschema>=4.19.0.3",
"types-psycopg2>=2.9.21.20240118",
]
[tool.hatch.build.targets.sdist]
include = ["tap_postgres"]
[tool.hatch.build.targets.wheel]
include = ["tap_postgres"]
[tool.mypy]
exclude = "tests"
python_version = "3.13"
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"sshtunnel",
]
[build-system]
requires = [
"hatchling==1.27",
"hatch-vcs==0.4",
]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.ruff.lint]
select = [
"F", # Pyflakes
"W", # pycodestyle warnings
"E", # pycodestyle errors
"I", # isort
"N", # pep8-naming
"D", # pydocstyle
"UP", # pyupgrade
"ICN", # flake8-import-conventions
"RET", # flake8-return
"SIM", # flake8-simplify
"TC", # flake8-type-checking
"ERA", # eradicate
"PGH", # pygrep-hooks
"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.per-file-ignores]
"tests/*" = [
"D",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
addopts = '--durations=10'