forked from estrategiahq/target-parquet
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
72 lines (61 loc) · 2 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
[tool.poetry]
name = "target-parquet"
version = "1.1.0"
description = "`target-parquet` is a Singer target for parquet, built with the Meltano Singer SDK."
readme = "README.md"
authors = ["Joao Amaral <joao.amaral@automattic.com>"]
keywords = [
"ELT",
"parquet",
]
license = "Apache-2.0"
[tool.poetry.dependencies]
python = ">=3.9,<4"
singer-sdk = { version="~=0.44.1" }
fs-s3fs = { version = "~=1.1.1", optional = true }
requests = "~=2.31.0"
pyarrow = "~=14.0.2"
numpy = "<2.0.0"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.0"
singer-sdk = { version="~=0.44.1", extras = ["testing"] }
pandas = "*"
[tool.poetry.extras]
s3 = ["fs-s3fs"]
[tool.ruff]
src = ["target_parquet"]
target-version = "py39"
exclude = ["tests"]
[tool.ruff.lint]
ignore = [
"ANN101", # missing-type-self
"ANN102", # missing-type-cls
"COM812", # missing-trailing-comma
"ISC001", # single-line-implicit-string-concatenation
"ANN204", # Missing return type annotation for special method `__init__`
"D107", # Missing docstring in __init__
"ANN002", # Missing type annotation for `*args`
"ANN003", # Missing type annotation for `**kwargs`
"PTH118", # `os.path.join()` should be replaced by `Path` with `/` operator
"D100", # Missing docstring in public module
"G004", # Logging statement uses f-string
"S101", # Use of `assert` detected"
"D104", # Missing docstring in public package
"TRY003", # Avoid specifying long messages outside the exception class"
"EM102", # Exception must not use an f-string literal, assign to variable first"
]
select = ["ALL"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.isort]
known-first-party = ["target_parquet"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pycodestyle]
max-line-length = 120
[build-system]
requires = ["poetry-core>=1.0.8"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
# CLI declaration
target-parquet = 'target_parquet.target:TargetParquet.cli'