mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-03 19:38:30 +02:00
Bump pylint from 3.0.3 to 3.1.0 (#6287)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -400,8 +400,7 @@ class BitmapFontWrapper:
|
||||
for glyph in glyphs:
|
||||
mask = self.getmask(glyph, mode="1")
|
||||
_, height = mask.size
|
||||
if height > max_height:
|
||||
max_height = height
|
||||
max_height = max(max_height, height)
|
||||
return (max_height, 0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user