fix: remove unused imports flagged by Codacy

Union in adaptive_images.py and field in adaptive_layout.py are both
imported but never used -- the last two Codacy findings on this PR,
matching the same fix already applied on PR #396.
This commit is contained in:
ChuckBuilds
2026-07-12 10:07:18 -04:00
parent 7d5044c315
commit bd17fad578
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ uncached primitives.
"""
from dataclasses import dataclass
from typing import Any, Optional, Tuple, Union
from typing import Any, Optional, Tuple
from PIL import Image
+1 -1
View File
@@ -29,7 +29,7 @@ freetype.Face, so it drops straight into DisplayManager.draw_text().
import logging
from collections import OrderedDict
from dataclasses import dataclass, field
from dataclasses import dataclass
from typing import Any, Dict, List, Optional, Sequence, Tuple, Union
import freetype