-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (63 loc) · 1.9 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "snowforge"
version = "0.1.0-alpha.1"
authors = [
{ name = "Francisco Montanez", email = "[email protected]" },
]
description = "A Python library for managing Snowflake workflows"
readme = "README.md"
requires-python = ">=3.9,<3.12"
license = "GPL-3.0"
keywords = ["snowflake", "data", "workflow", "data-engineering"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["snowflake-connector-python>=3.0.0", "python-dotenv>=1.0.0"]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-mock>=3.10.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
]
docs = ["sphinx>=7.0.0", "sphinx-rtd-theme>=1.3.0"]
[tool.hatch.version]
path = "src/snowforge/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/snowforge"]
[tool.hatch.envs.default]
dependencies = [
"pytest>=7.0.0",
"pytest-mock>=3.10.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
lint = ["black .", "isort .", "mypy src/snowforge tests"]
format = ["black .", "isort ."]
[tool.hatch.envs.docs]
dependencies = ["sphinx>=7.0.0", "sphinx-rtd-theme>=1.3.0"]
[tool.hatch.envs.docs.scripts]
build = "sphinx-build -b html docs/source docs/build"
[tool.black]
line-length = 88
target-version = ["py39"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3