-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
148 lines (134 loc) · 3.12 KB
/
Copy pathpyproject.toml
File metadata and controls
148 lines (134 loc) · 3.12 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
[project]
name = "tap-greenhouse"
dynamic = ["version"]
description = "Singer tap for Greenhouse, built with the Meltano Singer SDK."
readme = "README.md"
authors = [{ name = "Edgar Ramírez-Mondragón", email = "emondragon@matatika.com" }]
keywords = [
"ELT",
"Greenhouse",
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"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",
]
license = "Apache-2.0"
license-files = [ "LICENSE" ]
requires-python = ">=3.10"
dependencies = [
"singer-sdk~=0.54.2",
"requests~=2.34.0",
"tomli>=2.4.0 ; python_full_version < '3.11'",
"typing-extensions>=4.5.0; python_version < '3.13'",
]
[project.optional-dependencies]
s3 = [
"s3fs>=2026.4.0",
]
[project.scripts]
# CLI declaration
tap-greenhouse = 'tap_greenhouse.tap:TapGreenhouse.cli'
[dependency-groups]
dev = [
{ include-group = "test" },
{ include-group = "typing" },
"requests>=2.32.5",
"requests-cache>=1.2.1",
"toolz>=1.1.0",
"urllib3>=2.7.0",
]
test = [
"pytest>=9.0.3",
"pytest-github-actions-annotate-failures>=0.3",
"singer-sdk[testing]",
]
typing = [
"mypy>=1.16.0",
"requests-cache",
"tomli",
"ty>=0.0.46",
]
[tool.hatch.version]
fallback-version = "0.0.0.dev0"
source = "vcs"
[tool.pytest]
addopts = [
"--durations=10",
"-ra",
"--strict-config",
"--strict-markers",
]
filterwarnings = [
"error",
"once:No records were available to test:UserWarning",
"once:Fields in transformed catalog but not in records:UserWarning",
]
log_level = "INFO"
minversion = "9.0"
testpaths = [
"tests",
]
xfail_strict = true
[tool.mypy]
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.ruff]
line-length = 120
required-version = ">=0.14"
[tool.ruff.lint]
future-annotations = true
ignore = [
"COM812", # missing-trailing-comma
]
select = ["ALL"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = [
"hatchling>=1.30.1,<2",
"hatch-vcs",
]
build-backend = "hatchling.build"
[tool.tox]
min_version = "4.32"
requires = [
"tox>=4.32",
"tox-uv",
]
env_list = [
"typing",
"py314",
"py313",
"py312",
"py311",
"py310",
]
[tool.tox.env_run_base]
runner = "uv-venv-lock-runner"
pass_env = [
"GITHUB_*",
"TAP_GREENHOUSE_*",
]
dependency_groups = [ "test" ]
commands = [ [ "pytest", { replace = "posargs", default = [ "tests" ], extend = true } ] ]
[tool.tox.env.typing]
dependency_groups = [ "test", "typing" ]
commands = [
[ "mypy", { replace = "posargs", default = [ "tap_greenhouse", "tests" ], extend = true } ],
[ "ty", "check", { replace = "posargs", default = [ "tap_greenhouse", "tests" ], extend = true } ],
]