too many blank lines (2)
254 logger.warning("初始化emoji失败")
255
256
257 # check_init()258 with Image.new("RGB", (550, 80), (255, 255, 255)) as image:
259 font = ImageFont.truetype("arial.ttf", 24)
260
too many blank lines (2)
243 """
244
245
246 def check_init():247 if not os.path.isdir('./resources/emoji/twemoji'):
248 twemoji = TwemojiLocalSource()
249 print("检测到未安装emoji资源包,正在初始化本地emoji...")
Description
Two blank lines are expected between functions and classes and one blank line is expected between methods of a class.