We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4981fee commit c288952Copy full SHA for c288952
setup.py
@@ -11,7 +11,7 @@ def read_description():
11
try:
12
with open('README.rst', encoding='utf8') as fd:
13
return fd.read()
14
- except:
+ except: # noqa
15
return "Error found retrieving description"
16
17
test.py
@@ -28,15 +28,14 @@
28
readchar.key.F12: 'F12',
29
readchar.key.ALT_A: 'ALT_A',
30
}
31
-
+
32
while True:
33
c = readchar.readkey()
34
35
if c in decode_dict:
36
- print ('got {}'.format(decode_dict[c]))
+ print('got {}'.format(decode_dict[c]))
37
else:
38
print(c)
39
40
- if c=='d':
+ if c == 'd':
41
break
42
0 commit comments