-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (69 loc) · 2.08 KB
/
pyproject.toml
File metadata and controls
80 lines (69 loc) · 2.08 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
[project]
name = "hostedpi"
version = "0.4.6"
description = "Python interface to the Mythic Beasts Hosted Pi API"
authors = [
{name = "Ben Nuttall", email = "ben@bennuttall.com"}
]
license = {text = "BSD 3-Clause License"}
readme = "README.rst"
requires-python = ">=3.9,<4.0"
keywords = ["raspberrypi", "piwheels", "mythicbeasts", "hostedpi", "picloud"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"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",
"Intended Audience :: Developers",
"Topic :: Utilities",
]
dependencies = [
"requests (>=2.32.3,<3.0.0)",
"pydantic (>=2,<3.0.0)",
"pydantic-settings (>=2.7.1,<3.0.0)",
"structlog (>=25.1.0)",
]
[project.urls]
Repository = "https://github.com/piwheels/hostedpi"
Documentation = "https://hostedpi.readthedocs.io"
Issues = "https://github.com/piwheels/hostedpi/issues"
Changelog = "https://hostedpi.readthedocs.io/en/stable/changelog.html"
[project.scripts]
hostedpi = 'hostedpi.cli:app'
[project.optional-dependencies]
cli = ["typer (>=0.15.1,<1.0.0)", "rich (>=13.9.4,<14.0.0)"]
test = ["pytest (>=8.4.1,<9.0.0)", "pytest-cov (>=6.2.1,<7.0.0)"]
[tool.poetry]
include = ["LICENSE.txt", "README.rst"]
[tool.poetry.group.dev.dependencies]
sphinx = "*"
sphinx-rtd-theme = "*"
ipython = "*"
twine = "*"
black = "*"
isort = "*"
autodoc-pydantic = "^2.2.0"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
lines_after_imports = 2
[tool.black]
line-length = 100
target-version = ['py39']
[tool.pytest.ini_options]
addopts = "--cov=hostedpi --cov-report=term-missing"
[tool.coverage.run]
omit = [
"hostedpi/__main__.py",
"hostedpi/cli/utils.py",
"hostedpi/cli/arguments.py",
"hostedpi/cli/options.py",
"hostedpi/logger.py"
]