Skip to content

Commit d8d7a6f

Browse files
committed
Ignore Enum functional API calls on static type checking
Ignore hints can be removed after python/mypy#2306 gets resolved.
1 parent 6b46f4f commit d8d7a6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎byceps/util/image/models.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ def is_square(self):
2222
return self.width == self.height
2323

2424

25-
ImageType = Enum('ImageType', ['gif', 'jpeg', 'png'])
25+
ImageType = Enum('ImageType', ['gif', 'jpeg', 'png']) # type: ignore

0 commit comments

Comments
 (0)