Skip to content

Commit

Permalink
ignore flask8:C901
Browse files Browse the repository at this point in the history
the very long "windows only" if statement causes a flake8 warning.
As this will be reworked anyway the warning is ignored
  • Loading branch information
Cube707 committed Jul 24, 2022
1 parent 66ceb4a commit 011e6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readchar/readchar.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
raise NotImplementedError("The platform %s is not supported yet" % sys.platform)


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

0 comments on commit 011e6cb

Please sign in to comment.