pyproject.toml (1288B)
1 [project] 2 name = "ha-hunterbtt" 3 version = "0.1.0" 4 description = "Home Assistant integration for Hunter BTT" 5 readme = { file = "README", content-type = "text/markdown" } 6 license = "AGPL-3.0-only" 7 requires-python = ">=3.14" 8 dependencies = [ 9 "pyhunterbtt==0.1.1", 10 ] 11 12 [project.urls] 13 Homepage = "https://git.stephank.nl/ha-hunterbtt" 14 15 [dependency-groups] 16 dev = [ 17 "mypy>=1.15", 18 "pytest>=8.3", 19 "ruff>=0.16.4", 20 ] 21 22 [tool.ruff] 23 line-length = 88 24 target-version = "py314" 25 26 [tool.ruff.lint] 27 # Small local subset of Home Assistant's Ruff checks, kept deliberately stable 28 # for this independently developed custom integration. 29 select = [ 30 "ASYNC", 31 "B", 32 "DTZ", 33 "E", 34 "F", 35 "I", 36 "LOG", 37 "PERF", 38 "PGH", 39 "PIE", 40 "RET", 41 "RUF", 42 "TC", 43 "TRY", 44 "UP", 45 "W", 46 ] 47 ignore = [ 48 "COM812", 49 "D203", 50 "D213", 51 "PLR2004", 52 "RUF012", 53 "TC001", 54 "TC002", 55 "TC003", 56 "TRY003", 57 ] 58 59 [tool.mypy] 60 python_version = "3.14" 61 strict = true 62 files = ["custom_components"] 63 # Runtime dependencies are installed by Home Assistant and checked in their own 64 # projects. Keep this check focused on this integration's own annotations. 65 follow_imports = "skip" 66 ignore_missing_imports = true 67 disallow_subclassing_any = false 68 warn_return_any = false