-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (77 loc) · 2.25 KB
/
pyproject.toml
File metadata and controls
86 lines (77 loc) · 2.25 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tagoio-sdk"
version = "5.1.1"
description = "Official Python SDK for TagoIO"
authors = [{name = "TagoIO Inc.", email = "contact@tago.io"}]
license = {text = "Apache-2.0"}
readme = "README.md"
requires-python = ">=3.11"
keywords = ["tagoio", "iot", "analysis", "tago", "sensor", "device"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
"Intended Audience :: Developers",
]
dependencies = [
"requests>=2.32.0,<3.0.0",
"python-dateutil>=2.9.0",
"sseclient-py>=1.8.0",
"requests-toolbelt>=1.0.0",
]
[project.urls]
Homepage = "https://tago.io/"
Repository = "https://github.com/tago-io/sdk-python/"
Documentation = "https://py.sdk.tago.io/"
Changelog = "https://github.com/tago-io/sdk-python/releases"
"Bug Tracker" = "https://github.com/tago-io/sdk-python/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.4.1",
"ruff>=0.12.7",
"sphinx>=8.2.3",
"requests-mock>=1.12.1",
]
[tool.hatch.build.targets.wheel]
packages = ["src/tagoio_sdk"]
[tool.ruff]
target-version = "py311"
line-length = 88
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
]
ignore = [
"E501", # line too long, handled by formatter
"UP007", # Use X | Y syntax (not compatible with Python < 3.10)
"UP045", # Use X | None syntax (not compatible with Python < 3.10)
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
force-single-line = true
combine-as-imports = true
lines-between-types = 1
lines-after-imports = 2
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test*"]