mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 21:55:29 +02:00
Fix a couple of issues highlighted by updated mypy
This commit is contained in:
@@ -36,6 +36,8 @@ def images_supported() -> bool:
|
||||
|
||||
class Ref:
|
||||
|
||||
__slots__: Tuple[str, ...] = ()
|
||||
|
||||
def __setattr__(self, name: str, value: object) -> None:
|
||||
raise AttributeError("can't set attribute")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user