-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
170 lines (159 loc) · 3.71 KB
/
pyproject.toml
File metadata and controls
170 lines (159 loc) · 3.71 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[build-system]
build-backend = "hatchling.build"
requires = [
"hatch-vcs==0.5",
"hatchling==1.29",
]
[project]
name = "tap-pipedream"
description = "Singer tap for Pipedream, built with the Meltano SDK for Singer Taps."
readme = "README.md"
keywords = [
"ELT",
"Pipedream",
"singer.io",
]
license = "Apache-2.0"
license-files = [ "LICENSE" ]
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [
"version",
]
dependencies = [
"singer-sdk~=0.54.0a4",
]
[[project.authors]]
name = "Edgar Ramírez-Mondragón"
email = "edgarrm358@gmail.com"
[[project.maintainers]]
name = "Edgar Ramírez-Mondragón"
email = "edgarrm358@gmail.com"
[project.scripts]
tap-pipedream = "tap_pipedream.tap:TapPipedream.cli"
[project.urls]
Documentation = "https://github.com/reservoir-data/tap-pipedream#readme"
Homepage = "https://github.com/reservoir-data/tap-pipedream"
Repository = "https://github.com/reservoir-data/tap-pipedream"
[dependency-groups]
dev = [
{ include-group = "testing" },
{ include-group = "typing" },
]
testing = [
"deptry>=0.12",
"pytest>=9",
"singer-sdk[testing]",
]
typing = [
"mypy",
"ty>=0.0.8",
]
[tool.hatch.version]
source = "vcs"
[tool.uv]
required-version = ">=0.7.0"
prerelease = "allow"
[tool.ruff]
line-length = 88
src = [
"tap_pipedream",
"tests",
]
[tool.ruff.lint]
select = [
"ALL",
]
ignore = [
"COM812", # missing-trailing-comma
"DJ", # flake8-django
"ISC001", # single-line-implicit-string-concatenation
]
per-file-ignores."noxfile.py" = [
"ANN",
]
per-file-ignores."tests/*" = [
"ANN201", # missing-return-type-public-function
"S101", # assert
"SLF001", # private-member-access
]
unfixable = [
"ERA001", # commented-out-code
]
isort.known-first-party = [
"tap_pipedream",
]
isort.required-imports = [
"from __future__ import annotations",
]
pydocstyle.convention = "google"
[tool.deptry.package_module_name_map]
mypy = "mypy"
ty = "ty"
[tool.pyproject-fmt]
table_format = "long"
[tool.pytest]
addopts = [
"-vvv",
"-ra",
"--strict-config",
"--strict-markers",
]
filterwarnings = [
"error",
"default:No records were available to test:UserWarning",
"default:No records returned in stream 'user_source_events':UserWarning",
"default:No records returned in stream 'user_sources':UserWarning",
"default:No records returned in stream 'user_subscriptions':UserWarning",
"default:No records returned in stream 'webhooks':UserWarning",
"default:Fields in transformed catalog but not in records:UserWarning",
]
log_level = "INFO"
minversion = "9"
testpaths = [ "tests" ]
xfail_strict = true
[tool.tox]
min_version = "4.22"
requires = [
"tox>=4.22",
"tox-uv",
]
env_list = [
"dependencies",
"typing",
{ product = [
{ prefix = "3.", start = 12 },
] },
]
[tool.tox.env.dependencies]
dependency_groups = [ "testing" ]
commands = [ [ "deptry", "." ] ]
[tool.tox.env.typing]
dependency_groups = [ "testing", "typing" ]
commands = [
[ "mypy", { replace = "posargs", default = [ "tap_pipedream", "tests" ], extend = true } ],
[ "ty", "check", { replace = "posargs", default = [ "tap_pipedream", "tests" ], extend = true } ],
]
[tool.tox.env_run_base]
runner = "uv-venv-lock-runner"
pass_env = [ "TAP_PIPEDREAM_*" ]
dependency_groups = [ "testing" ]
commands = [ [ "pytest", { replace = "posargs", default = [ "tests" ], extend = true } ] ]
[tool.mypy]
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
strict = true
warn_redundant_casts = true
warn_return_any = true
warn_no_return = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true