Skip to content

Commit 2c317f5

Browse files
committed
Fix flake8 warnings
1 parent af7ccb6 commit 2c317f5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[flake8]
2+
ignore = E203, W503
23
max-line-length = 88

tinylink/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def process_stdin(link: tinylink.TinyLink) -> Optional[bool]:
127127
try:
128128
# Assume it is a float.
129129
value = struct.pack(link.endianness + pack, float(item))
130-
except:
130+
except: # noqa
131131
try:
132132
# Assume it is an int.
133133
value = struct.pack(link.endianness + pack, int(item, 0))

0 commit comments

Comments
 (0)