Skip to content

Commit

Permalink
Ignore bogus pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
avylove committed Apr 3, 2024
1 parent 2827a86 commit f7b3651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blessed/terminal.py
Expand Up @@ -528,7 +528,7 @@ def _query_response(self, query_str, response_re, timeout):
self.stream.flush()

# Wait for response
match, data = _read_until(term=self,
match, data = _read_until(term=self, # pylint: disable=unpacking-non-sequence
pattern=response_re,
timeout=timeout)

Expand Down Expand Up @@ -1496,7 +1496,7 @@ def inkey(self, timeout=None, esc_delay=DEFAULT_ESCDELAY):
if ks.code == self.KEY_ESCAPE:
esctime = time.time()
while (ks.code == self.KEY_ESCAPE and
ucs in self._keymap_prefixes and
ucs in self._keymap_prefixes and # pylint: disable=unsupported-membership-test
self.kbhit(timeout=_time_left(esctime, esc_delay))):
ucs += self.getch()
ks = resolve_sequence(ucs, self._keymap, self._keycodes)
Expand Down

0 comments on commit f7b3651

Please sign in to comment.