forked from TicketSwap/tap-intercom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (92 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
104 lines (92 loc) · 2.15 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
[project]
name = "ticketswap-tap-intercom"
version = "0.0.1"
description = "`tap-intercom` is a Singer tap for Intercom, built with the Meltano Singer SDK."
readme = "README.md"
authors = [{ name = "Tobias Cadee", email = "tobias.cadee@ticketswap.com" }]
keywords = [
"ELT",
"Intercom",
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"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",
]
license = "Apache-2.0"
license-files = [ "LICENSE" ]
requires-python = ">=3.9"
dependencies = [
"singer-sdk>=0.42.1",
"fs-s3fs",
"requests",
"cached-property", # Remove after Python 3.7 support is dropped
]
[project.optional-dependencies]
s3 = [
"s3fs",
]
[project.scripts]
# CLI declaration
tap-intercom = 'tap_intercom.tap:TapIntercom.cli'
[dependency-groups]
dev = [
{ include-group = "test" },
]
test = [
"pytest>=8",
"pytest-github-actions-annotate-failures>=0.3",
"singer-sdk[testing]",
]
[tool.hatch.build.targets.wheel]
packages = [
"tap_intercom",
]
[tool.pytest.ini_options]
addopts = [
"--durations=10",
]
[tool.mypy]
warn_unused_configs = true
plugins = "sqlmypy"
[tool.ruff.lint]
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,<2",
]
build-backend = "hatchling.build"
# This configuration can be used to customize tox tests as well as other test frameworks like flake8 and mypy
[tool.tox]
min_version = "4.22"
requires = [
"tox>=4.22",
"tox-uv",
]
env_list = [
"py313",
"py312",
"py311",
"py310",
"py39",
]
[tool.tox.env_run_base]
runner = "uv-venv-lock-runner"
pass_env = [
"GITHUB_*",
"TAP_INTERCOM_*",
]
dependency_groups = [ "test" ]
commands = [ [ "pytest", { replace = "posargs", default = [ "tests" ], extend = true } ] ]