diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 172b857bc..abf480de9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,18 @@ repos: - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell additional_dependencies: [tomli] args: ["--toml", "pyproject.toml"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.10.1 hooks: - id: mypy - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.4 + rev: v0.5.1 hooks: - id: ruff args: [--fix] diff --git a/pyproject.toml b/pyproject.toml index 6466f3333..9241b861b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel", "setuptools-git-versioning<2"] +requires = ["setuptools>=61.0.0", "wheel", "setuptools-git-versioning<3"] build-backend = "setuptools.build_meta" [project] @@ -16,15 +16,13 @@ requires-python = ">=3.12" dependencies = [ "zigpy==0.64.1", "bellows==0.39.1", - "zigpy-znp==0.12.1", - "zigpy-deconz==0.23.1", + "zigpy-znp==0.12.2", + "zigpy-deconz==0.23.2", "zigpy-xbee==0.20.1", "zigpy-zigate==0.12.0", - "zha-quirks==0.0.116", - "universal-silabs-flasher==0.0.20", + "zha-quirks==0.0.117", "pyserial==3.5", - "pyserial-asyncio==0.6", - "pyserial-asyncio-fast==0.11", + "pyserial-asyncio-fast", ] [tool.setuptools.packages.find] @@ -39,7 +37,7 @@ testing = [ enabled = true [tool.codespell] -ignore-words-list = "hass" +ignore-words-list = "hass, checkin" [tool.mypy] python_version = "3.12" @@ -207,6 +205,8 @@ ignore = [ "TRY003", "TRY201", "TRY300", + + "SIM103", # Return the condition {condition} directly ] [tool.ruff.lint.flake8-pytest-style]