-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
154 lines (137 loc) · 3.07 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[build-system]
build-backend = "hatchling.build"
requires = [
"hatch-vcs",
"hatchling",
]
[project]
name = "tap-neon"
description = "Singer tap for Neon Serverless Postgres, built with the Meltano SDK for Singer Taps."
readme = "README.md"
keywords = [
"ELT",
"Neon Serverless Postgres",
"singer.io",
]
license.file = "LICENSE"
maintainers = [
{ name = "Edgar Ramírez-Mondragón", email = "edgarrm358@gmail.com" },
]
authors = [
{ name = "Edgar Ramírez-Mondragón", email = "edgarrm358@gmail.com" },
]
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"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",
]
dynamic = [
"version",
]
dependencies = [
"requests>=2.26",
"singer-sdk~=0.42.1",
]
optional-dependencies.dev = [
"tap-neon[testing,typing]",
]
optional-dependencies.testing = [
"deptry>=0.12",
"pytest>=7.4",
"singer-sdk[testing]",
]
optional-dependencies.typing = [
"mypy",
"types-requests",
]
urls.Documentation = "https://github.com/edgarrmondragon/tap-neon#readme"
urls.Homepage = "https://github.com/edgarrmondragon/tap-neon"
urls.Source = "https://github.com/edgarrmondragon/tap-neon"
scripts."tap-neon" = "tap_neon.tap:TapNeon.cli"
[tool.hatch.version]
source = "vcs"
[tool.hatch.envs.default]
installer = "uv"
[tool.hatch.envs.default.env-vars]
UV_PRERELEASE = "allow"
[tool.hatch.envs.default.overrides]
env.GITHUB_ACTIONS.dev-mode = { value = false, if = [
"true",
] }
[tool.hatch.envs.sync.scripts]
console = "tap-neon {args}"
jsonl = "tap-neon {args} > tap-neon.jsonl"
[tool.hatch.envs.test]
features = [
"testing",
]
[tool.hatch.envs.test.scripts]
integration = "pytest {args:tests}"
dependencies = "deptry ."
[tool.hatch.envs.all]
template = "test"
[[tool.hatch.envs.all.matrix]]
python = [
"3.9",
"3.10",
"3.11",
"3.12",
"3.13",
]
[tool.hatch.envs.typing]
features = [
"testing",
"typing",
]
[tool.hatch.envs.typing.scripts]
check = "mypy --strict {args:tap_neon tests}"
[tool.ruff]
line-length = 88
lint.select = [
"ALL",
]
lint.ignore = [
"ANN101", # missing-type-self
"COM812", # missing-trailing-comma
"DJ", # flake8-django
"ISC001", # single-line-implicit-string-concatenation
"PD", # pandas-vet
]
lint.per-file-ignores."tests/*" = [
"ANN",
]
lint.unfixable = [
"ERA001", # commented-out-code
]
lint.flake8-annotations.allow-star-arg-any = true
lint.isort.known-first-party = [
"tap_neon",
]
lint.isort.required-imports = [
"from __future__ import annotations",
]
lint.pydocstyle.convention = "google"
[tool.deptry.package_module_name_map]
mypy = "mypy"
types-requests = "requests"
[tool.deptry.per_rule_ignores]
DEP002 = [
"deptry",
"mypy",
"pytest",
]
[tool.pyproject-fmt]
max_supported_python = "3.13"
[tool.pytest.ini_options]
addopts = "-vvv"
[tool.mypy]
warn_redundant_casts = true
warn_return_any = true
warn_no_return = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true