fix images.grid

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-02-21 15:10:26 +01:00
parent a96b5234d7
commit a1d46b3ecd
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -2,15 +2,16 @@ from modules.image.metadata import image_data, read_info_from_image
from modules.image.save import save_image, sanitize_filename_part
from modules.image.resize import resize_image
from modules.image.namegen import FilenameGenerator
from modules.image.grid import image_grid, check_grid_size, get_grid_size, draw_grid_annotations, draw_prompt_matrix, combine_grid
from modules.image.grid import Grid, image_grid, check_grid_size, get_grid_size, draw_grid_annotations, draw_prompt_matrix, combine_grid
__all__ = [
'FilenameGenerator',
'check_grid_size',
'combine_grid',
'draw_grid_annotations',
'draw_prompt_matrix',
'FilenameGenerator',
'get_grid_size',
'Grid',
'image_data',
'image_grid',
'read_info_from_image',
+1
View File
@@ -99,6 +99,7 @@ ignore = [
"RUF012", # Mutable class attributes
"RUF013", # PEP 484 prohibits implicit `Optional`
"RUF015", # Prefer `next(...)` over single element slice
"RUF022", # All is not sorted
"RUF046", # Value being cast to `int` is already an integer
"RUF059", # Unpacked variables are not used
"RUF051", # Prefer pop over del