-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
125 lines (105 loc) · 2.32 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
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hotdag"
description = 'Hot evaluation of dbt DAG selectors'
readme = "README.md"
requires-python = ">=3.7"
license = "MIT"
keywords = []
authors = [
{ name = "Nicholas Yager", email = "yager@nicholasyager.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
'fastapi',
'dbt-core~=1.5',
'loguru',
'pydot',
'graphviz',
'requests'
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"pytest",
"isort",
"black",
"flake8",
'twine'
]
[project.urls]
Documentation = "https://github.com/nicholasyager/hotdag#readme"
Issues = "https://github.com/nicholasyager/hotdag/issues"
Source = "https://github.com/nicholasyager/hotdag"
[project.scripts]
hotdag = "hotdag:main.cli"
[tool.hatch.version]
path = "hotdag/__about__.py"
[tool.hatch.envs.default]
dependencies = [
"uvicorn",
]
[tool.hatch.envs.default.scripts]
serve = 'uvicorn hotdag.main:app'
[tool.hatch.envs.test]
dependencies = [
"pytest",
"pytest-cov",
]
[tool.hatch.envs.test.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hotdag --cov=tests {args}"
no-cov = "cov --no-cov {args}"
[[tool.hatch.envs.test.matrix]]
python = ["37", "38", "39", "310", "311"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"hotdag/__about__.py",
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.hatch.envs.style]
detached = true
dependencies = [
"flake8",
"black",
"isort",
]
[tool.hatch.envs.style.scripts]
check = [
"flake8 .",
"black --check --diff .",
"isort --check-only --diff .",
]
fmt = [
"isort .",
"black .",
"check",
]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.7.2"
tag_format = "$major.$minor.$patch$prerelease"
version_files = [
"hotdag/__about__.py",
"pyproject.toml:version"
]
[dirs.env]
virtual = ".hatch"