forked from z3z1ma/dbt-core-interface
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (100 loc) · 2.25 KB
/
Copy pathpyproject.toml
File metadata and controls
110 lines (100 loc) · 2.25 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
[project]
name = "dbt-core-interface"
version = "1.1.7"
dynamic = []
description = "Dbt Core Interface"
authors = [
{ name = "Alex Butler", email = "butler.alex2010@gmail.com" },
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10,<3.14"
classifiers = [
"Development Status :: 4 - Beta",
]
keywords = [
"dbt",
"sqlfluff"
]
dependencies = [
"dbt-core>=1.8.0,<2.0.0",
"dbt-adapters>=1.3.2",
"rich>10.0",
"typing-extensions; python_version < '3.10'",
]
[project.urls]
Homepage = "https://github.com/z3z1ma/dbt-core-interface"
Repository = "https://github.com/z3z1ma/dbt-core-interface"
Documentation = "https://dbt-core-interface.readthedocs.io"
Changelog = "https://github.com/z3z1ma/dbt-core-interface/releases"
[project.optional-dependencies]
sqlfluff = [
"sqlfluff>=2.3.2,<4"
]
server = [
"fastapi~=0.115.14",
"uvicorn~=0.35.0"
]
dev = [
"dbt-duckdb",
"ruff~=0.12.0",
"coverage[toml]>=6.2,<7",
"pytest>=8.0.0,<9",
"sqlfluff>=2.3.2,<4"
]
test = [
"dbt-postgres~=1.8.0",
"dbt-core~=1.8.0",
"psycopg2-binary>=2.8,<3.0",
"sqlfluff>=2.3.2,<4"
]
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]
[tool.coverage.run]
branch = true
source = ["dbt_core_interface", "tests"]
[tool.coverage.report]
show_missing = true
fail_under = 30
[tool.ruff]
line-length = 100
select = ["B", "B9", "C", "D", "E", "F", "N", "S", "W"]
ignore = ["E501", "D203", "D213"]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"dbt_core_interface.py",
]
per-file-ignores = { "tests/*" = ["S101"], "src/dbt_core_interface/project.py" = ["E402"], "src/dbt_core_interface/server.py" = ["B008"] }
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py310"
[tool.ruff.mccabe]
max-complexity = 15
[build-system]
requires = ["uv_build>=0.7.17,<0.8.0"]
build-backend = "uv_build"
[project.entry-points."sqlfluff"]
dbt_templater = "dbt_core_interface.dbt_templater"