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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
|
[project]
name = "pyvlx"
dynamic = ["version"]
description = "PyVLX is a wrapper for the Velux KLF 200 API. PyVLX enables you to run scenes and or open and close velux windows."
readme = "README.md"
requires-python = ">=3.11"
license = {text = "LGPL-3.0-or-later"}
keywords = ["velux", "KLF", "200", "home", "automation"]
authors = [
{name = "Julius Mittenzwei", email = "julius@mittenzwei.com"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Topic :: System :: Hardware :: Hardware Drivers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"PyYAML>=6.0,<7.0",
"zeroconf>=0.148",
"Deprecated>=1.3.1,<2.0",
]
[project.optional-dependencies]
dev = [
"pytest==9.0.2",
"pytest-cov==7.0.0",
"mypy==1.19.1",
"types-PyYAML==6.0.12.20250915",
"types-Deprecated==1.3.1.20260130",
"isort==8.0.1",
"flake8==7.3.0",
"flake8-isort==7.0.0",
"flake8-pyproject==1.2.4",
"pydocstyle==6.3.0",
"pylint==4.0.5",
]
release = [
"build==1.4.0",
# Twine is only needed for manual/local uploads (Makefile pypi target);
# GitHub Actions publishing uses pypa/gh-action-pypi-publish instead.
"twine==6.2.0",
]
[project.urls]
Homepage = "https://github.com/Julius2342/pyvlx"
Source = "https://github.com/Julius2342/pyvlx"
"Bug Tracker" = "https://github.com/Julius2342/pyvlx/issues"
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm>=8.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["test*"]
[tool.setuptools.package-data]
pyvlx = ["py.typed"]
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
version_file = "src/pyvlx/_version.py"
[tool.mypy]
show_error_codes = true
warn_unused_ignores = true
disallow_untyped_defs = true
disallow_untyped_calls = true
check_untyped_defs = true
[tool.isort]
multi_line_output = 4
skip = ["old_api", "_version.py"]
[tool.pylint.main]
max-branches = 20
max-statements = 55
ignore-paths = ["src/pyvlx/_version.py"]
[tool.pylint.messages_control]
disable = [
"E1101",
"C0111",
"duplicate-code",
"fixme",
"locally-disabled",
"too-few-public-methods",
"too-many-arguments",
"too-many-instance-attributes",
"consider-using-f-string",
]
good-names = ["PAYLOAD_LEN", "i", "j"]
enable = ["useless-suppression"]
[tool.pylint.reports]
output-format = "colorized"
reports = false
[tool.pylint.format]
indent-string = " "
max-line-length = 160
max-positional-arguments = 7
[tool.flake8]
ignore = ["E203", "W503", "E226"]
exclude = [".git", "bin", "lib", "deps", "build", "src/pyvlx/_version.py"]
max-line-length = 160
[tool.coverage.run]
source = ["src/pyvlx"]
branch = true
relative_files = true
[tool.coverage.report]
omit = ["src/pyvlx/_version.py"]
show_missing = true
skip_covered = true
exclude_lines = [
"if TYPE_CHECKING:",
]
|