Skip to content

Commit 6cdf15c

Browse files
committed
SQUASH address ruff issues, unused var, double quotes
1 parent bc27f14 commit 6cdf15c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pudb/debugger.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ def __exit__(self, exc_type, exc_value, exc_traceback):
776776

777777
def press_key_to_return(self):
778778
with ConsoleSingleKeyReader() as key_reader:
779-
key = key_reader.get_single_key()
779+
key_reader.get_single_key()
780780

781781

782782
class DebuggerUI(FrameVarInfoKeeper):

pudb/lowlevel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def get_single_key(self):
334334
# special keys (function keys, cursor, keypad) require
335335
# another call when the first returned '\0' or '\xe0'.
336336
c = msvcrt.getch()
337-
if c in ('\x00', '\xe0'):
337+
if c in ("\x00", "\xe0"):
338338
c = msvcrt.getch()
339339
return c
340340

0 commit comments

Comments
 (0)