-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
122 lines (111 loc) · 2.98 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = [
"poetry-core==2.1.1",
"poetry-dynamic-versioning==1.7.1",
]
[project]
name = "tap-socketdev"
description = "Singer tap for Socket, built with the Meltano SDK for Singer Taps."
readme = "README.md"
keywords = [
"ELT",
"singer.io",
"Socket",
]
license = "Apache-2.0"
authors = [ { name = "Edgar Ramírez-Mondragón", email = "[email protected]" } ]
requires-python = ">=3.9"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
dependencies = [
"requests~=2.32.0",
"singer-sdk~=0.44.2",
]
urls.Documentation = "https://github.com/edgarrmondragon/tap-socketdev#readme"
urls.Homepage = "https://github.com/edgarrmondragon/tap-socketdev"
urls.Repository = "https://github.com/edgarrmondragon/tap-socketdev"
scripts.tap-socketdev = "tap_socketdev.tap:TapSocketDev.cli"
[tool.poetry]
requires-poetry = ">=2.0"
version = "0.0.0"
[tool.poetry.requires-plugins]
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = [ "plugin" ] }
poetry-plugin-export = ">=1.8"
[tool.poetry.group.dev.dependencies]
mypy = ">=1.8.0"
pytest = "~=8.0"
singer-sdk = { version = "*", extras = [
"testing",
] }
types-requests = "~=2.32.0"
[tool.poetry-dynamic-versioning]
enable = true
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base, stage, revision) }}
{%- elif revision is not none -%}
{{ serialize_pep440(base, stage, revision + 1, dev=distance, metadata=[commit]) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance, metadata=[commit]) }}
{%- endif -%}
"""
metadata = true
style = "pep440"
vcs = "git"
[tool.ruff]
line-length = 88
src = [
"tap_socketdev",
"tests",
]
lint.select = [
"ALL",
]
lint.ignore = [
"COM812", # missing-trailing-comma
"DJ", # flake8-django
"FIX002", # line-contains-todo
"ISC001", # single-line-implicit-string-concatenation
]
lint.per-file-ignores."noxfile.py" = [
"ANN",
]
lint.per-file-ignores."tests/*" = [
"ANN201", # missing-return-type-public-function
"S101", # assert
"SLF001", # private-member-access
]
lint.unfixable = [
"ERA001", # commented-out-code
]
lint.flake8-annotations.allow-star-arg-any = true
lint.isort.known-first-party = [
"tap_socketdev",
]
lint.isort.required-imports = [
"from __future__ import annotations",
]
lint.pydocstyle.convention = "google"
[tool.pyproject-fmt]
max_supported_python = "3.14"
[tool.pytest.ini_options]
addopts = "-vvv"
[tool.mypy]
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"backoff.*",
]