From 484f699d216a21e21f5578ec3729e23b0eea018b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 5 Oct 2025 11:49:12 -0600 Subject: [PATCH] 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. --- gdb/python/lib/gdb/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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, -- 2.47.3