]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix some flake8 warnings
authorTom Tromey <tom@tromey.com>
Sun, 5 Oct 2025 17:49:12 +0000 (11:49 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 5 Oct 2025 17:49:12 +0000 (11:49 -0600)
"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

index 0388c6a2c00adccba8fb05b87e128b22c70e37fb..d635b94efdc9cbb3f93d952c9da2104222676280 100644 (file)
@@ -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,