-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
77 lines (62 loc) · 1.74 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
[tool.poetry]
name = "meltano-tap-facebook"
version = "0.0.0"
description = "`tap-facebook` is a Singer tap for facebook, built with the Meltano SDK for Singer Taps."
authors = ["Meltano <[email protected]>"]
keywords = [
"ELT",
"facebook",
]
license = "Elastic-2.0"
packages = [
{ include = "tap_facebook" },
]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9"
facebook-business = "~=21.0.3"
pendulum = "~=3.0.0"
requests = "~=2.32"
singer-sdk = "~=0.42.0"
[tool.poetry.group.dev.dependencies]
pytest = ">=8.2"
singer-sdk = {version = "~=0.42.0", extras = ["testing"]}
[tool.poetry.group.typing.dependencies]
mypy = ">=1.13"
types-requests = "~=2.32"
[tool.isort]
profile = "black"
multi_line_output = 3 # Vertical Hanging Indent
src_paths = "tap_facebook"
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.scripts]
# CLI declaration
tap-facebook = 'tap_facebook.tap:TapFacebook.cli'
[tool.poetry-dynamic-versioning]
enable = true
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
ignore = ["ANN101", "DJ", "PD", "D101", "D102"]
select = ["ALL"]
[tool.ruff.lint.flake8-import-conventions]
banned-from = ["typing"]
[tool.ruff.lint.flake8-import-conventions.extend-aliases]
typing = "t"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN201", "D103", "S101", "PLR2004"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"facebook_business.*", # TODO: Remove when https://github.com/facebook/facebook-python-business-sdk/issues/657 is shipped
]