From fec9e2b8a9981c9d47ba4301235d343270d52b08 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 22:38:59 +0000 Subject: [PATCH 1/2] Bump black from 25.12.0 to 26.1.0 Bumps [black](https://github.com/psf/black) from 25.12.0 to 26.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/25.12.0...26.1.0) --- updated-dependencies: - dependency-name: black dependency-version: 26.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-test.txt b/requirements-test.txt index 8d51e7e..45952a8 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,4 @@ -black==25.12.0 +black==26.1.0 flake8==7.3.0 mypy==1.19.1 pylint==4.0.4 From 62441b9254209fb5edb3f8d778739164a9b706bd Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Mon, 26 Jan 2026 12:31:19 +0100 Subject: [PATCH 2/2] Run black --- python_otbr_api/__init__.py | 2 +- python_otbr_api/models.py | 2 +- tests/test_util/aiohttp.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/python_otbr_api/__init__.py b/python_otbr_api/__init__.py index 36765d4..e20b623 100644 --- a/python_otbr_api/__init__.py +++ b/python_otbr_api/__init__.py @@ -5,7 +5,7 @@ import json import aiohttp -import voluptuous as vol # type:ignore[import] +import voluptuous as vol # type: ignore[import] from .models import ActiveDataSet, PendingDataSet, Timestamp diff --git a/python_otbr_api/models.py b/python_otbr_api/models.py index 952c080..dcf0ee7 100644 --- a/python_otbr_api/models.py +++ b/python_otbr_api/models.py @@ -5,7 +5,7 @@ from dataclasses import dataclass from typing import Any -import voluptuous as vol # type:ignore[import] +import voluptuous as vol # type: ignore[import] @dataclass diff --git a/tests/test_util/aiohttp.py b/tests/test_util/aiohttp.py index 5adcf91..2eb2e57 100644 --- a/tests/test_util/aiohttp.py +++ b/tests/test_util/aiohttp.py @@ -14,7 +14,6 @@ from multidict import CIMultiDict from yarl import URL - RETYPE = type(re.compile("")) # pylint: disable=unused-argument, too-many-arguments, too-many-instance-attributes