File: pyproject.toml

package info (click to toggle)
python-hdfury 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 140 kB
  • sloc: python: 503; makefile: 3
file content (67 lines) | stat: -rw-r--r-- 1,388 bytes parent folder | download
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
[project]
name = "hdfury"
version = "1.6.0"
description = "Asynchronous Python client for HDFury devices"
authors = [
    { name = "Glenn de Haan", email = "glenn@dehaan.cloud" }
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
    "aiohttp>=3.0.0",
]

[project.urls]
Homepage = "https://github.com/glenndehaan/python-hdfury"
Issues = "https://github.com/glenndehaan/python-hdfury/issues"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src/hdfury"]

[tool.hatch.build.targets.wheel.package-data]
hdfury = ["py.typed"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = [
    "--strict-markers",
    "--cov=hdfury",
    "--cov-report=term-missing",
    "--cov-report=xml",
]

[tool.ruff]
line-length = 120
exclude = ["build", ".venv"]

[tool.ruff.lint]
select = ["E", "F", "W", "I"]
extend-select = ["B", "D"]
ignore = [
    "D203",  # incompatible with D211
    "D213",  # incompatible with D212
]
extend-ignore = []

[tool.pylint."MESSAGES CONTROL"]
disable = [
    "redefined-builtin",
    "too-many-public-methods",
]

[tool.mypy]
python_version = 3.11
files = "src,hdfury"
ignore_missing_imports = true
strict = true
disallow_untyped_defs = true
warn_unused_ignores = true
warn_return_any = true
pretty = true
show_error_codes = true