-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (104 loc) · 2.92 KB
/
Copy pathpyproject.toml
File metadata and controls
117 lines (104 loc) · 2.92 KB
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
[project]
name = "qtsurfer-api-client"
version = "0.107.0"
description = "Auto-generated Python client for the QTSurfer API."
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.11"
authors = [
{ name = "Manuel Polo", email = "mrmx@users.noreply.github.com" },
]
keywords = ["qtsurfer", "api", "client", "backtest", "trading", "openapi"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.23,<1",
"attrs>=22.2.0",
"python-dateutil>=2.8.0",
]
[project.urls]
Homepage = "https://github.com/QTSurfer/api-client-python"
Repository = "https://github.com/QTSurfer/api-client-python"
Issues = "https://github.com/QTSurfer/api-client-python/issues"
"OpenAPI Spec" = "https://github.com/QTSurfer/qtsurfer-api"
"SDK (Java)" = "https://github.com/QTSurfer/sdk-java"
"SDK (TypeScript)" = "https://github.com/QTSurfer/sdk-ts"
[dependency-groups]
dev = [
"openapi-python-client>=0.25,<1",
"pytest>=8.0",
"respx>=0.21",
"ruff>=0.7",
"mypy>=1.10",
"build>=1.2",
"twine>=5.0",
"pyyaml>=6.0",
"types-python-dateutil>=2.8",
"pdoc>=16.0.0",
]
[build-system]
requires = ["hatchling<1.32"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/qtsurfer"]
[tool.hatch.build.targets.sdist]
include = [
"src/",
"LICENSE",
"README.md",
"pyproject.toml",
"openapi.yaml",
]
[tool.ruff]
line-length = 120
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long — formatter handles this
]
[tool.ruff.lint.per-file-ignores]
# Generated code is owned by the generator; do not lint it.
"src/qtsurfer/api/client/_generated/**" = ["ALL"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.11"
strict = true
files = ["src", "tests"]
mypy_path = ["src"]
explicit_package_bases = true
namespace_packages = true
[[tool.mypy.overrides]]
# Generator output is not strict-clean; suppress per spec acceptance criteria.
module = "qtsurfer.api.client._generated.*"
ignore_errors = true
[[tool.mypy.overrides]]
module = "respx.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"