Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@ per-file-ignores =
stubs/*.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F822, Y026, Y027
stdlib/typing.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F811, F822, Y026, Y034

# We are checking with Python 3 but many of the stubs are Python 2 stubs.
builtins = buffer,file,long,raw_input,unicode,xrange
exclude = .venv*,.git,*_pb2.pyi,stdlib/@python2/*
2 changes: 1 addition & 1 deletion stubs/humanfriendly/humanfriendly/compat.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ else:
unicode = unicode
unichr = unichr
basestring = basestring
interactive_prompt = raw_input
interactive_prompt = raw_input # noqa: F821 # exists as a builtin in Python 2, but not in Python 3
from StringIO import StringIO as StringIO

from HTMLParser import HTMLParser as HTMLParser
Expand Down