forked from MeltanoLabs/tap-dbt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (65 loc) · 1.78 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
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = [
"poetry-core==1.6",
"poetry-dynamic-versioning",
]
[tool.poetry]
name = "tap-dbt"
version = "0.0.0"
description = "Singer tap for dbt, built with the Singer SDK."
license = "Apache-2.0"
authors = ["Edgar Ramírez Mondragón <[email protected]>"]
maintainers = ["Edgar Ramírez Mondragón <[email protected]>"]
readme = "README.md"
repository = "https://github.com/edgarrmondragon/tap-dbt"
keywords = ["singer.io", "elt", "dbt", "singer-sdk"]
[tool.poetry.dependencies]
python = "<3.12,>=3.7.1"
pyyaml = "^6.0"
singer-sdk = "~=0.32.0"
[tool.poetry.group.dev.dependencies]
faker = ">=17.6,<19.0"
pytest = "^7.2.2"
responses = "^0.23.1"
[tool.poetry.scripts]
tap-dbt = 'tap_dbt.tap:cli'
[tool.black]
line-length = 88
[tool.ruff]
ignore = [
"ANN101", # missing-type-self
"FIX002", # line-contains-todo
]
line-length = 88
select = ["ALL"]
src = ["tap_dbt", "tests"]
target-version = "py37"
unfixable = [
"ERA001", # commented-out-code
]
[tool.ruff.isort]
known-first-party = ["tap_dbt"]
required-imports = ["from __future__ import annotations"]
[tool.ruff.per-file-ignores]
"tests/*" = ["ANN201", "S101"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.isort]
profile = "black"
multi_line_output = 3 # Vertical Hanging Indent
src_paths = "tap_dbt"
[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"