forked from MeltanoLabs/target-snowflake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (64 loc) · 1.68 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
[tool.poetry]
name = "meltanolabs-target-snowflake"
version = "0.0.0"
description = "Singer target for Snowflake, built with the Meltano SDK for Singer Targets."
readme = "README.md"
authors = ["Ken Payne"]
keywords = [
"ELT",
"Snowflake",
]
license = "Apache-2.0"
packages = [
{ include = "target_snowflake" }
]
[tool.poetry.dependencies]
python = ">=3.8"
cryptography = ">=40,<44"
snowflake-sqlalchemy = "~=1.6.1"
snowflake-connector-python = { version = "<4.0.0", extras = ["secure-local-storage"] }
sqlalchemy = "~=2.0.31"
[tool.poetry.dependencies.singer-sdk]
version = "~=0.41.0"
[tool.poetry.group.dev.dependencies]
coverage = ">=7.2.7"
pytest = ">=7.4.3"
pytest-xdist = ">=3.3.1"
[tool.poetry.group.dev.dependencies.singer-sdk]
version="~=0.41.0"
extras = ["testing"]
[tool.ruff]
line-length = 120
src = ["target_snowflake"]
target-version = "py38"
[tool.ruff.lint]
ignore = [
"ANN101", # missing-type-self
"ANN102", # missing-type-cls
"ANN201",
"TD",
"D",
"FIX",
]
select = ["ALL"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.isort]
known-first-party = ["target_snowflake"]
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "S608", "PLR2004", "ANN"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = ["poetry-core>=1.0.8", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.scripts]
# CLI declaration
target-snowflake = 'target_snowflake.target:TargetSnowflake.cli'
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[tool.pytest.ini_options]
addopts = '--durations=10'