-
Notifications
You must be signed in to change notification settings - Fork 282
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (75 loc) · 1.89 KB
/
pyproject.toml
File metadata and controls
85 lines (75 loc) · 1.89 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "schemachange"
version = "4.3.2"
description = "A Database Change Management tool for Snowflake"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
authors = [
{name = "jamesweakley/jeremiahhansen"},
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"jinja2~=3.0",
"pyyaml~=6.0",
"snowflake-connector-python>=3.0,<5.0",
"structlog~=24.1.0",
"colorama; platform_system == 'Windows'",
]
[project.urls]
Homepage = "https://github.com/Snowflake-Labs/schemachange"
Repository = "https://github.com/Snowflake-Labs/schemachange"
[project.scripts]
schemachange = "schemachange.cli:main"
[project.optional-dependencies]
dev = [
"pre-commit",
"pyfakefs",
"pytest",
"ruff",
]
[tool.hatch.build.targets.wheel]
packages = ["schemachange"]
[tool.hatch.build.targets.sdist]
include = [
"/schemachange",
"/README.md",
"/LICENSE",
"/NOTICE",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.black]
line-length = 120
target-version = ["py310", "py311", "py312", "py313"]