From f7ddcdeb592df96796fa9a668e5fdd0587680fad Mon Sep 17 00:00:00 2001 From: Sebastian Mohr Date: Tue, 2 Dec 2025 13:37:54 +0100 Subject: [PATCH] Ruff format after rebase. --- beets/dbcore/db.py | 2 +- test/test_dbcore.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/beets/dbcore/db.py b/beets/dbcore/db.py index 7ad78d357..843bfeaff 100755 --- a/beets/dbcore/db.py +++ b/beets/dbcore/db.py @@ -35,7 +35,7 @@ from collections.abc import ( Sequence, ) from sqlite3 import Connection, sqlite_version_info -from typing import TYPE_CHECKING, Any, AnyStr, Generic +from typing import TYPE_CHECKING, Any, AnyStr, Generic, NamedTuple from typing_extensions import TypeVar # default value support from unidecode import unidecode diff --git a/test/test_dbcore.py b/test/test_dbcore.py index 3f53dd888..06aceaec0 100644 --- a/test/test_dbcore.py +++ b/test/test_dbcore.py @@ -811,7 +811,7 @@ class TestException: with db.transaction() as tx: tx.query("select * from test where plz_raise()") - + class TestIndex: @pytest.fixture(autouse=True) def db(self): @@ -876,5 +876,3 @@ class TestIndex: # Should be unique or not index_set = {index1, index2} assert len(index_set) == (1 if equality else 2) - -