-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
100 lines (91 loc) · 2.42 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
95
96
97
98
99
100
[tool.poetry]
name = "dbt-dry-run"
version = "0.8.1"
description = "Dry run dbt projects"
authors = ["Connor Charles <connor.charles@autotrader.co.uk>",
"Phil hope <philip.hope@autotrader.co.uk>",
"Angelos Georgiadis <angelos.georgiadis@autotrader.co.uk>",
"Richard Wilmer <richard.wilmer@autotrader.co.uk>"]
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/autotraderuk/dbt-dry-run"
[tool.poetry.scripts]
dbt-dry-run = "dbt_dry_run.__main__:main"
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
agate = ">=1.7.0,<1.10"
google-cloud-bigquery = "^3"
pydantic = "^1.9.0"
tenacity = "^8.2"
networkx = ">=2.3,<4.0"
pyyaml = "~6"
typer = "~0"
[tool.poetry.dev-dependencies]
black = "^22"
isort = "^5.10.1"
pytest = "^7.2.0"
mypy = "^0.981"
types-PyYAML = "^6.0.4"
pytest-cov = "^4.0.0"
twine = "^3.8.0"
types-setuptools = "^57.4.9"
pytest-mock = "^3.7.0"
dbt-bigquery = "~1.9.0"
numpy = [
{version = ">=1.26", python = ">=3.9"},
{version = "<1.25", python = "=3.8"},
]
pandas = [
{version = ">=2.1.1", python = ">=3.12"},
{version = "<2.1", python = "=3.8"},
]
[build-system]
requires = ["poetry-core>=1.5.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = "dbt_dry_run/test"
filterwarnings = [
"error",
"ignore:Deprecated call to",
"ignore:pkg_resources is deprecated as an API",
"ignore:invalid escape sequence",
"ignore:unclosed",
"ignore:'cgi' is deprecated and slated for removal",
"ignore:Your application has authenticated using end user credentials",
"ignore::UserWarning",
"ignore:.*custom tp_new.*in Python 3.14.*:DeprecationWarning",
"ignore:.*utcnow.*:DeprecationWarning",
]
pythonpath = [
"."
]
[tool.coverage.run]
source = ["dbt_dry_run"]
branch = true
[tool.coverage.report]
precision = 2
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"raise NotImplemented",
"if TYPE_CHECKING:",
"@overload"
]
[tool.isort]
profile = "black"
src_paths = "dbt_dry_run"
[tool.mypy]
follow_imports = "silent"
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = false
warn_unused_configs = true
disallow_subclassing_any = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_untyped_calls = false
disallow_untyped_defs = true
ignore_missing_imports = true