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
|
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=77.0"]
[project]
name = "pyTibber"
license = "GPL-3.0-or-later"
description = "A python3 library to communicate with Tibber"
readme = "README.md"
authors = [{ name = "Daniel Hjelseth Hoyer", email = "mail@dahoiv.net" }]
requires-python = ">=3.11"
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Home Automation",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"aiohttp>=3.0.6",
"gql==3.5.0",
"websockets>=14.0.0",
]
dynamic = ["version"]
[project.urls]
"Source code" = "https://github.com/Danielhiversen/pyTibber"
[tool.setuptools.dynamic]
version = { attr = "tibber.const.__version__"}
[tool.setuptools.packages.find]
include = ["tibber*"]
[tool.mypy]
python_version = "3.12"
disallow_incomplete_defs = true
implicit_optional = true
strict_optional = false
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
ignore = ["D", "EM", "FBT", "PLR0913", "C901", "S101", "S105", "TRY"]
select = ["ALL"]
[tool.ruff.lint.isort]
known-first-party = ["tibber", "test"]
[tool.ruff.lint.per-file-ignores]
"setup.py" = ["D100"]
"test/**/*" = [
"ANN201",
"PLR2004",
"S101",
"S106",
]
|