mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 23:54:20 +02:00
Make mypy happy
This commit is contained in:
@@ -732,9 +732,6 @@ class Window:
|
||||
return not self.at_prompt
|
||||
|
||||
def matches(self, field: str, pat: MatchPatternType) -> bool:
|
||||
if not pat:
|
||||
return False
|
||||
|
||||
if isinstance(pat, tuple):
|
||||
if field == 'env':
|
||||
return key_val_matcher(self.child.environ.items(), *pat)
|
||||
|
||||
Reference in New Issue
Block a user