Skip to content

Commit 1da7e03

Browse files
committed
Fix pylint warnings for cyclic imports in ImageIOOptionField
1 parent 505604f commit 1da7e03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sigima_/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ def set(self, value: Any, sync_env: bool = True) -> None:
225225
sync_env: Whether to synchronize the environment variable.
226226
"""
227227
super().set(value, sync_env)
228-
from sigima_.io.image import formats # pylint: disable=import-outside-toplevel
228+
# pylint: disable=cyclic-import
229+
# pylint: disable=import-outside-toplevel
230+
from sigima_.io.image import formats
229231

230232
# Generate image I/O format classes based on the new value
231233
# This allows dynamic loading of formats based on the configuration

0 commit comments

Comments
 (0)