-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
99 lines (87 loc) · 2.09 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
[project]
name = "deltastream-connector"
version = "0.1.3"
description = "An OpenAPI client for the DeltaStream API"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "DeltaStream Inc.", email = "[email protected]"}
]
license = "APACHE-2.0"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"urllib3 >= 1.25.3,<3.0.0",
"pydantic>=2",
"typing-extensions>=4.7.1",
"websockets>=14.2",
"python-dateutil>=2.8.2"
]
[project.urls]
Homepage = "https://github.com/deltastreaminc/deltastream-connector-python"
Issues = "https://github.com/deltastreaminc/deltastream-connector-python/issues"
[dependency-groups]
dev = [
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"tox>=3.9.0",
"flake8>=4.0.0",
"types-python-dateutil>=2.8.19.14",
"mypy>=1.15.0",
"pytest-asyncio>=0.25.3",
]
lint = [
"ruff"
]
[project.scripts]
api-tests = "tests.api.controlplane.test_version:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/deltastream"]
[tool.hatch.build.targets.sdist]
only-include = ["src"]
[tool.hatch.commands]
generate-apiv2 = [
"openapi-generator",
"generate",
"-i",
"api-server-v2.yaml",
"-g",
"python",
"-o",
"./with_package",
"--package-name",
"deltastream.api.controlplane.openapi_client"
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"--cov=deltastream",
"--cov-report=term-missing",
"--cov-report=html"
]
pythonpath = [
"src"
]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
filterwarnings = [
"ignore::DeprecationWarning:websockets.legacy.*:",
# We can't fix the underlying library warnings, so we'll ignore them for now
"ignore:datetime.datetime.utcnow.*:DeprecationWarning"
]
[tool.pylint]
max-line-length = 88
disable = ["C0111", "R0903"]
extension-pkg-whitelist = "pydantic"
[tool.ruff]
line-length = 88
indent-width = 4