From: Tom Tromey Date: Sun, 5 Oct 2025 17:49:12 +0000 (-0600) Subject: Fix some flake8 warnings X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=484f699d216a21e21f5578ec3729e23b0eea018b;p=thirdparty%2Fbinutils-gdb.git Fix some flake8 warnings "pre-commit run --all" shows some flake8 warnings coming from a recent patch. There was no real bug here, but this fix silences the warnings. --- diff --git a/gdb/python/lib/gdb/__init__.py b/gdb/python/lib/gdb/__init__.py index 0388c6a2c00..d635b94efdc 100644 --- a/gdb/python/lib/gdb/__init__.py +++ b/gdb/python/lib/gdb/__init__.py @@ -26,9 +26,18 @@ from importlib import reload # Note that two indicators are needed here to silence flake8. from _gdb import * # noqa: F401,F403 from _gdb import ( + COMMAND_NONE, + INTENSITY_BOLD, + INTENSITY_DIM, + INTENSITY_NORMAL, + PARAM_COLOR, + PARAM_ENUM, STDERR, STDOUT, + Color, Command, + Parameter, + Style, execute, flush, parameter,