-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
90 lines (78 loc) · 1.64 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
89
90
[tool.poetry]
name = "tap-mongodb"
version = "2.5.0"
description = "`tap-mongodb` is a Singer tap for MongoDB and AWS DocumentDB, built with the Meltano Singer SDK."
readme = "README.md"
authors = ["Matt Menzenski"]
keywords = [
"ELT",
"mongodb",
]
license = "Apache 2.0"
packages = [
{ include = "tap_mongodb" },
]
[tool.poetry.dependencies]
python = "^3.8"
singer-sdk = { version = "^0.42.1" }
fs-s3fs = { version = "^1.1.1", optional = true }
pymongo = "^4.4.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
flake8 = "^5.0.4"
darglint = "^1.8.1"
black = "^23.1.0"
pyupgrade = "^3.3.1"
mypy = "^1.0.0"
isort = "^5.11.5"
singer-sdk = { version = "^0.42.1", extras = ["testing"] }
pylint = "^3.0.0a6"
[tool.poetry.extras]
s3 = ["fs-s3fs"]
[tool.mypy]
python_version = "3.9"
warn_unused_configs = true
[build-system]
requires = ["poetry-core>=1.0.8"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py311']
[tool.poetry.scripts]
# CLI declaration
tap-mongodb = 'tap_mongodb.tap:TapMongoDB.cli'
[tool.yamlfix]
comments_min_spaces_from_content = 2
comments_require_starting_space = true
explicit_start = false
sequence_style = 'block_style'
indent_mapping = 2
indent_offset = 2
indent_sequence = 4
line_length = 180
quote_basic_values = false
quote_keys_and_basic_values = false
[tool.ruff]
select = [
"E",
"F",
"RUF",
"I001",
]
exclude = [
".meltano",
".secrets",
"output",
]
line-length = 120
target-version = "py311"
[tool.ruff.isort]
known-third-party = [
"pymongo",
"singer_sdk",
]
[tool.pylint]
max-line-length = 120
disable = [
"logging-fstring-interpolation"
]