Skip to content

Commit 011e6cb

Browse files
committed
ignore flask8:C901
the very long "windows only" if statement causes a flake8 warning. As this will be reworked anyway the warning is ignored
1 parent 66ceb4a commit 011e6cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readchar/readchar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
raise NotImplementedError("The platform %s is not supported yet" % sys.platform)
1818

1919

20-
if sys.platform in ("win32", "cygwin"):
20+
if sys.platform in ("win32", "cygwin"): # noqa: C901
2121
#
2222
# Windows uses scan codes for extended characters. This dictionary translates
2323
# scan codes to the unicode sequences expected by readkey.

0 commit comments

Comments
 (0)