aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-10-05 11:49:12 -0600
committerTom Tromey <tom@tromey.com>2025-10-05 11:49:12 -0600
commit484f699d216a21e21f5578ec3729e23b0eea018b (patch)
treeb4e6b99c37ad49bbcd60065b5642d01f31221e83 /gdb/python
parent3c724596812882cc0c3b653330551fae132d6475 (diff)
downloadbinutils-484f699d216a21e21f5578ec3729e23b0eea018b.zip
binutils-484f699d216a21e21f5578ec3729e23b0eea018b.tar.gz
binutils-484f699d216a21e21f5578ec3729e23b0eea018b.tar.bz2
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.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/lib/gdb/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/python/lib/gdb/__init__.py b/gdb/python/lib/gdb/__init__.py
index 0388c6a..d635b94 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,