Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (80 loc) · 1.98 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (80 loc) · 1.98 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
[project]
name = "ticketswap-tap-exact"
version = "0.0.1"
description = "`tap-exact` is a Singer tap for Exact, built with the Meltano Singer SDK."
authors = [{ name = "Tobias Cadee", email = "tobias.cadee@ticketswap.com" }]
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
keywords = [
"ELT",
"Exact",
]
classifiers = [
"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",
]
dependencies = [
"boto3>=1.43.118",
"lxml>=6.1.3",
"requests>=2.34.2",
"singer-sdk~=0.54.9",
"xmltodict>=1.0.4",
]
[project.scripts]
tap-exact = "tap_exact.tap:TapExact.cli"
[dependency-groups]
dev = [
"pytest>=9.1.1",
"singer-sdk[testing]~=0.54.9",
]
[tool.hatch.build.targets.sdist]
include = ["tap_exact"]
[tool.hatch.build.targets.wheel]
include = ["tap_exact"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.mypy]
python_version = "3.9"
warn_unused_configs = true
[tool.ruff]
src = ["tap_exact"]
target-version = "py37"
line-length = 120
[tool.ruff.lint]
ignore = [
"COM812", # missing-trailing-comma
"CPY001", # missing-copyright-notice
"ISC001", # single-line-implicit-string-concatenation
]
select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101", "SLF001"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.isort]
known-first-party = ["tap_exact"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.tox]
requires = [
"tox>=4.53",
"tox-uv>=1.35",
]
env_list = [
{ prefix = "3.", start = 10 },
]
[tool.tox.env_run_base]
description = "run tests on Python {env_name}"
runner = "uv-venv-lock-runner"
pass_env = [
"CI",
"GITHUB_*",
"TAP_EXACT_*",
]
dependency_groups = [ "dev" ]
commands = [ [ "pytest", { replace = "posargs", default = [ "tests" ], extend = true } ] ]