flake8 warns about the "from _gdb.disassembler import *" line in
disassembler.py, and a similar line from __init__.py. These line are
needed to re-export names from the corresponding C++ module, so this
patch applies the appropriate "noqa" flags.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
else:
from imp import reload
-from _gdb import *
+# Note that two indicators are needed here to silence flake8.
+from _gdb import * # noqa: F401,F403
# Historically, gdb.events was always available, so ensure it's
# still available without an explicit import.
import _gdb.disassembler
# Re-export everything from the _gdb.disassembler module, which is
-# defined within GDB's C++ code.
-from _gdb.disassembler import *
+# defined within GDB's C++ code. Note that two indicators are needed
+# here to silence flake8.
+from _gdb.disassembler import * # noqa: F401,F403
# Module global dictionary of gdb.disassembler.Disassembler objects.
# The keys of this dictionary are bfd architecture names, or the