-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
94 lines (86 loc) · 1.95 KB
/
pyproject.toml
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
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = [
"poetry-core>=1.1",
"poetry-dynamic-versioning",
]
[tool.poetry]
name = "tap-jotform"
version = "0.0.0"
description = "Singer tap for Jotform, built with the Meltano SDK for Singer Taps."
license = "Apache-2.0"
authors = [
"Edgar Ramírez-Mondragón <edgarrm358@gmail.com>",
]
maintainers = [
"Edgar Ramírez-Mondragón <edgarrm358@gmail.com>",
]
readme = "README.md"
homepage = "https://github.com/edgarrmondragon/tap-jotform"
repository = "https://github.com/edgarrmondragon/tap-jotform"
documentation = "https://github.com/edgarrmondragon/tap-jotform/#readme"
keywords = [
"ELT",
"Jotform",
]
[tool.poetry.dependencies]
python = ">=3.8"
colorama = "==0.4.*"
requests-cache = "==1.2.*"
singer-sdk = "==0.37.*"
structlog = "==24.2.*"
[tool.poetry.group.dev.dependencies]
pytest = "==8.*"
singer-sdk = { version = "==0.37.*", extras = [
"testing",
] }
[tool.poetry.scripts]
# CLI declaration
tap-jotform = 'tap_jotform.tap:TapJotform.cli'
[tool.poetry-dynamic-versioning]
enable = true
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base, stage, revision) }}
{%- elif revision is not none -%}
{{ serialize_pep440(base, stage, revision + 1, dev=distance, metadata=[commit]) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance, metadata=[commit]) }}
{%- endif -%}
"""
metadata = true
style = "pep440"
vcs = "git"
[tool.ruff]
target-version = "py38"
line-length = 88
src = [
"noxfile.py",
"tap_jotform",
"tests",
]
lint.select = [
"ALL",
]
lint.ignore = [
"ANN101",
"COM812",
"DJ",
"ISC001",
"PD",
]
lint.per-file-ignores."noxfile.py" = [
"ANN",
]
lint.per-file-ignores."tests/*" = [
"ANN",
]
lint.flake8-annotations.allow-star-arg-any = true
lint.isort.known-first-party = [
"tap_jotform",
]
lint.pydocstyle.convention = "google"
[tool.pytest.ini_options]
addopts = [
"-vvv",
]