Skip to content

Commit 4c33901

Browse files
committed
chore: format with ruff
1 parent 7d7c8b2 commit 4c33901

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tagstudio/src/core/library/alchemy/library.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
import shutil
33
import time
44
import unicodedata
5+
from collections.abc import Iterator
56
from dataclasses import dataclass
67
from datetime import UTC, datetime
78
from os import makedirs
89
from pathlib import Path
9-
from typing import Any, Iterator, Type
10+
from typing import Any
1011
from uuid import uuid4
1112

1213
import structlog
@@ -687,7 +688,7 @@ def remove_tag_from_field(self, tag: Tag, field: TagBoxField) -> None:
687688

688689
def update_field_position(
689690
self,
690-
field_class: Type[BaseField],
691+
field_class: type[BaseField],
691692
field_type: str,
692693
entry_ids: list[int] | int,
693694
):

0 commit comments

Comments
 (0)