-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (112 loc) · 2.84 KB
/
pyproject.toml
File metadata and controls
120 lines (112 loc) · 2.84 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
[build-system]
build-backend = "hatchling.build"
requires = [ "hatch-vcs==0.5", "hatchling==1.28" ]
[project]
name = "tap-pomelo"
version = "0.0.1"
description = "Singer tap for Pomelo, built with the Meltano SDK for Singer Taps."
readme = "README.md"
keywords = [
"ELT",
"Pomelo",
"singer.io",
]
license = "Apache-2.0"
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",
]
dependencies = [
"singer-sdk~=0.53.2",
"typing-extensions>=4.15; python_full_version<'3.12'",
]
[[project.authors]]
name = "Edgar-Ramírez"
email = "edgarrm358@gmail.com"
[[project.maintainers]]
name = "Edgar-Ramírez"
email = "edgarrm358@gmail.com"
[project.scripts]
tap-pomelo = "tap_pomelo.tap:TapPomelo.cli"
[project.urls]
Documentation = "https://github.com/reservoir-data/tap-pomelo#readme"
Homepage = "https://github.com/reservoir-data/tap-pomelo"
Repository = "https://github.com/reservoir-data/tap-pomelo"
[dependency-groups]
dev = [
{ include-group = "testing" },
{ include-group = "typing" },
]
testing = [
"singer-sdk[testing]",
]
typing = [
"mypy>=1.18.2",
"ty>=0.0.1a21",
{ include-group = "testing" },
]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"ALL",
]
ignore = [
"DJ", # flake8-django
]
per-file-ignores."noxfile.py" = [
"ANN",
]
per-file-ignores."tests/*" = [
"ANN201", # missing-return-type-public-function
"S101", # assert
"SLF001", # private-member-access
]
flake8-annotations.allow-star-arg-any = true
isort.known-first-party = [ "tap_pomelo" ]
isort.required-imports = [
"from __future__ import annotations",
]
pydocstyle.convention = "google"
[tool.pyproject-fmt]
table_format = "long"
[tool.pytest]
addopts = [ "-vvv", "-ra", "--strict-config", "--strict-markers" ]
filterwarnings = [
"error",
"once:Fields in transformed catalog but not in records:UserWarning",
]
log_level = "INFO"
minversion = "9"
strict = true
testpaths = [ "tests" ]
xfail_strict = true
[tool.tox]
min_version = "4.43"
requires = [ "tox", "tox-uv" ]
isolated_build = true
env_list = [
"typing",
{ product = [
{ prefix = "3.", start = 12 },
] },
]
[tool.tox.env]
typing.dependency_groups = [ "testing", "typing" ]
typing.commands = [
[ "mypy", { replace = "posargs", default = [ "tap_pomelo", "tests" ], extend = true } ],
[ "ty", "check", { replace = "posargs", default = [ "tap_pomelo", "tests" ], extend = true } ],
]
[tool.tox.env_run_base]
runner = "uv-venv-lock-runner"
pass_env = [ "TAP_POMELO_*" ]
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_unreachable = true
warn_unused_configs = true