Skip to content

Commit c288952

Browse files
committed
flakes
1 parent 4981fee commit c288952

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def read_description():
1111
try:
1212
with open('README.rst', encoding='utf8') as fd:
1313
return fd.read()
14-
except:
14+
except: # noqa
1515
return "Error found retrieving description"
1616

1717

test.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,14 @@
2828
readchar.key.F12: 'F12',
2929
readchar.key.ALT_A: 'ALT_A',
3030
}
31-
31+
3232
while True:
3333
c = readchar.readkey()
3434

3535
if c in decode_dict:
36-
print ('got {}'.format(decode_dict[c]))
36+
print('got {}'.format(decode_dict[c]))
3737
else:
3838
print(c)
3939

40-
if c=='d':
40+
if c == 'd':
4141
break
42-

0 commit comments

Comments
 (0)