-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
156 lines (138 loc) · 4.38 KB
/
Copy pathpyproject.toml
File metadata and controls
156 lines (138 loc) · 4.38 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[project]
name = "dbt_coves"
version = "1.11.4"
description = "CLI tool for dbt users adopting analytics engineering best practices."
authors = [{ name = "Datacoves", email = "hello@datacoves.com" }]
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.11,<3.15"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Code Generators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
keywords = ["data engineering", "analytics engineering", "dbt", "ETL", "data modelling"]
dependencies = [
"packaging>=20.8",
"pretty-errors>=1.2.19,<2",
"pydantic>=1.8",
"PyYAML>=5.4.1",
"questionary==2.1.1",
"rich>=10.4",
"Jinja2>2.11.2",
"python-slugify<9.0.0",
"dbt-core>=1.1,<2.0",
"ruamel-yaml>=0.17.21,<0.20",
"db-dtypes>=1.0.5,<2",
"copier>=9.0.0",
"gitpython>=3.1.31,<4",
"mixpanel>=4.10.0,<6",
"black>=25,<27",
"isort>=5.12.0,<9",
"dlt[redshift]>=1.0",
"psycopg2-binary>=2.9.9,<3",
"sqlalchemy>=1.4,<3",
"enlighten>=1.12.4,<2",
"snowflake-connector-python>=3.12.1,<4.8",
"jinja2-env>=0.1.3,<0.2",
"prompt-toolkit==3.0.53",
]
[project.urls]
Homepage = "https://datacoves.com"
Documentation = "https://github.com/datacoves/dbt-coves/blob/main/README.md"
Repository = "https://github.com/datacoves/dbt-coves"
[project.scripts]
dbt-coves = "dbt_coves.core.main:main"
[dependency-groups]
dev = [
"pre-commit>=3.5.0,<5",
"bumpversion>=0.6.0,<0.7",
"pytest>=9.0.3,<10",
"pytest-cov>=4.0.0,<8",
"mypy>=0.991,<2.4",
"towncrier>=22.12.0,<26",
"pytest-mock>=3.6.1,<4",
"pytest-sugar>=0.9.4,<1.2",
"pytest-datafiles>=2.0,<4",
"asciinema>=2.0.2,<3",
"pytest-dictsdiff>=0.5.8,<0.6",
"ipdb>=0.13.9,<0.14",
"sphinx-argparse>=0.4.0,<0.7",
"sphinxcontrib-restbuilder>=0.3,<0.4",
"types-PyYAML>=5.4.1,<7",
"types-python-slugify>=8.0.0.0,<9",
"types-requests>=2.28.11.5,<3",
"ruff==0.15.19",
]
test = [
"dbt-redshift>=1.1,<2.0",
"dbt-bigquery>=1.1,<2.0",
"dbt-snowflake>=1.1,<2.0",
"redshift-connector>=2.0.910,<3",
"pytest-dependency>=0.5.1,<0.7",
"python-dotenv>=1.2.2,<2",
"pandas>=2.0,<4",
"snowflake-connector-python[pandas]>=3.0,<4.8",
"google-cloud-bigquery>2.34,<4",
"tox>=3.23.1,<5",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["dbt_coves"]
[tool.hatch.build.targets.sdist]
include = ["dbt_coves", "README.md"]
[tool.towncrier]
version = "1.1.1-alpha.33"
package = "dbt_coves"
package_dir = "dbt_coves/"
filename = "changelog/CHANGELOG.md"
directory = "changelog/"
start_string = "# Changelog\n"
issue_format = "[#{issue}](https://github.com/datacoves/dbt-coves/issues/{issue})"
underlines = ["", ""]
template = "changelog/.towncrier.template.md"
title_format = "## dbt-coves [{version}] - {project_date}"
[[tool.towncrier.type]]
directory = "fix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Under The Hood/Misc"
showcontent = true
[tool.pytest.ini_options]
markers = ["datafiles"]
# DCV-3932: ruff replaces black (format), isort (import sorting) and flake8
# (lint), matching the datacoves repo's config. The defaults of `ruff format`
# are black-compatible at line-length 88.
[tool.ruff]
line-length = 88
target-version = "py311"
extend-exclude = [
"*_template.py",
"**/migrations/**",
"**/node_modules/**",
]
[tool.ruff.lint]
# E/W (pycodestyle) + F (pyflakes) + C90 (mccabe) replicate flake8; I (isort)
# replaces the isort hook; T10 (flake8-debugger) replaces the debug-statements
# hook. E501 is delegated to the formatter (it wraps at line-length), matching
# the old per-file E501 ignores. W503 has no ruff equivalent (omitted).
select = ["E", "W", "F", "C90", "I", "T10"]
ignore = ["E203", "E266", "E741", "E713", "E731", "C901", "E501"]
[tool.ruff.lint.per-file-ignores]
"*_generator.py" = ["F541"]
[tool.ruff.lint.mccabe]
max-complexity = 10