-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (84 loc) · 2.39 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
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
enable_incomplete_feature = "NewGenericSyntax"
files = "kickerde_api_client/**/*.py,tests/**/*.py"
implicit_reexport = false
no_implicit_optional = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
[tool.poetry]
name = "kickerde_api_client"
version = "0.1.2"
description = "Unofficial Python bindings for the public kicker.de news API"
readme = ["README.md"]
authors = ["Claudia Pellegrino <[email protected]>"]
license = "Apache-2.0"
# See https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: German",
"Topic :: Communications",
"Topic :: Home Automation",
]
documentation = "https://kickerde-api-client.readthedocs.io/en/stable/autoapi/kickerde_api_client/"
repository = "https://github.com/claui/kickerde-api-client"
[tool.poetry.dependencies]
python = ">=3.12"
datetype = "*"
httpx = "^0.27.2"
xmltodict = "^0.14.2"
[tool.poetry.group.dev.dependencies]
autopep8 = "*"
mypy = ">=1.8"
poethepoet = ">=0.24"
pylint = ">=3.0"
pytest = "*"
pytest-asyncio = "*"
types-xmltodict = "*"
[tool.poetry.group.doc.dependencies]
myst-parser = ">=2.0.0"
sphinx = ">=7.1.2,<7.2.0"
sphinx-autoapi = ">=3.3"
sphinx-rtd-theme = ">=3.0"
[tool.poe]
verbosity = -1
[tool.poe.tasks]
tasks.cmd = "poe -v"
tasks.help = "List available tasks"
doc.shell = """
set -ex
rm -rf build/html
sphinx-build -aqEW -b html doc/sphinx build/html
"""
doc.help = "Generate documentation"
html.script = "webbrowser:open('build/html/index.html')"
html.help = "Browse HTML documentation"
linter.cmd = "pylint --enable-all-extensions kickerde_api_client"
linter.help = "Check for style violations"
tests.cmd = "pytest"
tests.help = "Run test suite"
typecheck.cmd = "mypy"
typecheck.help = "Run static type checker"
[tool.pyright]
reportUnsupportedDunderAll = "none"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "package"
asyncio_mode = "auto"
testpaths = "tests"
xfail_strict = true
[tool.ruff]
line-length = 72
[tool.ruff.format]
quote-style = "single"