forked from snowflakedb/snowflake-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (78 loc) · 2.11 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "snowflake-cli-labs"
authors = [{ name = "Snowflake Inc." }]
license = { file = "LICENSE" }
dynamic = ["version"]
requires-python = ">=3.8"
description = "Snowflake CLI"
readme = "README.md"
dependencies = [
"coverage==7.4.0",
"jinja2==3.1.3",
"pluggy==1.3.0",
"PyYAML==6.0.1",
"rich==13.7.0",
"requests==2.31.0",
"requirements-parser==0.5.0",
"setuptools==69.0.3",
"snowflake-connector-python[secure-local-storage]==3.6.0",
"strictyaml==1.7.3",
"tomlkit==0.12.3",
"typer==0.9.0",
"urllib3>=1.21.1,<2.2",
"GitPython==3.1.41",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: SQL",
"Topic :: Database",
]
[project.optional-dependencies]
dev = [
"coverage==7.4.0",
"pre-commit>=3.5.0",
"pytest==7.4.4",
"pytest-randomly==3.15.0",
"syrupy==4.6.0",
"tox==4.11.4",
]
[project.urls]
"Source code" = "https://github.com/Snowflake-Labs/snowcli"
"Bug Tracker" = "https://github.com/Snowflake-Labs/snowcli/issues"
[project.scripts]
snow = "snowflake.cli.app.__main__:main"
[tool.hatch.version]
path = "src/snowflake/cli/__about__.py"
[tool.hatch.build.targets.sdist]
exclude = ["/.github"]
[tool.hatch.build.targets.wheel]
packages = ["src/snowflake"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"N",
"I", # isort
"G", # flake8-logging-format
"N", # pep8 naming
"A", # flake 8 builtins
"TID252", # relative imports
"SLF", # Accessing private methods
"F401", # unused imports
]
[tool.pytest.ini_options]
addopts = "-m 'not integration and not performance and not e2e and not spcs'"
markers = [
"integration: mark test as integration test",
"performance: mark test as performance test",
"e2e: mark test to execute on SnowCLI installed in fresh virtual environment",
]