-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (84 loc) · 2.27 KB
/
pyproject.toml
File metadata and controls
95 lines (84 loc) · 2.27 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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "td-client"
version = "1.7.0"
description = "Treasure Data API library for Python"
readme = {file = "README.rst", content-type = "text/x-rst; charset=UTF-8"}
requires-python = ">=3.10"
license = {text = "Apache Software License"}
authors = [{name = "Treasure Data, Inc.", email = "support@treasure-data.com"}]
urls = {homepage = "http://treasuredata.com/"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Internet",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"python-dateutil>=2.9.0.post0", # 2.9.0 supports Python 3.12+
"msgpack>=1.1.2", # 1.1.2 supports Python 3.9+
"urllib3>=2.0.0", # To ensure type hinting not breaks
]
[project.optional-dependencies]
docs = [
"sphinx",
"sphinx_rtd_theme",
]
test = [
"coverage[toml]",
"pytest>=8.3",
"coveralls>=1.1,<5.0",
"pyyaml",
]
[tool.setuptools]
packages = ["tdclient"]
[tool.setuptools.package-data]
tdclient = ["py.typed"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"E",
"W",
"F",
"I",
"UP",
"B",
]
exclude = ["tdclient/test/*"]
ignore = ["E203", "E501"]
[tool.ruff.lint.isort]
known-third-party = ["dateutil","msgpack","pkg_resources","pytest","setuptools","urllib3"]
[tool.pyright]
include = ["tdclient"]
exclude = ["**/__pycache__", "tdclient/test", "docs"]
typeCheckingMode = "strict"
pythonVersion = "3.10"
pythonPlatform = "All"
reportMissingTypeStubs = "warning"
reportUnknownMemberType = "error"
reportUnknownArgumentType = "error"
reportMissingImports = "error"
# Pre-commit venv configuration
venvPath = "."
venv = ".venv"
[dependency-groups]
dev = [
"ruff",
"pyright",
"tox>=4",
"msgpack-types>=0.5.0",
"types-certifi",
]