🚨 auto fix by pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] 2025-08-07 17:20:38 +00:00
parent 59507711e8
commit e954009439

View File

@ -490,7 +490,7 @@ class BuildImage:
x, y = self.markImg.size
for i, k in itertools.product(range(n, x - n), range(n, y - n)):
color = self.markImg.getpixel((i, k))
color = color[:-1] + (int(100 * alpha_ratio),) # type: ignore # noqa: RUF005
color = color[:-1] + (int(100 * alpha_ratio),) # type: ignore
self.markImg.putpixel((i, k), color)
self.draw = ImageDraw.Draw(self.markImg)
return self