aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-micmd.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2025-04-11 11:08:05 -0400
committerSimon Marchi <simon.marchi@efficios.com>2025-04-16 23:11:02 -0400
commit2c00b2fbb88b10cb22dfe3bc737368c9f488c70d (patch)
treea94f8cd01aef31b23106918b2ef48c1eb22c9880 /gdb/python/py-micmd.c
parent62e213a4fbc75bb36d5ee861aa453aabf2b14f88 (diff)
downloadbinutils-2c00b2fbb88b10cb22dfe3bc737368c9f488c70d.zip
binutils-2c00b2fbb88b10cb22dfe3bc737368c9f488c70d.tar.gz
binutils-2c00b2fbb88b10cb22dfe3bc737368c9f488c70d.tar.bz2
gdb: make typing strict in gdb/copyright.py
Add `pyright: strict` at the top of the file, then adjust the fallouts. This annotation is understood by pyright, and thus any IDE using pyright behind the scenes (VSCode and probably others). I presume that any GDB developer running this script is using a recent enough version of Python, so specify the type annotations using the actual types when possible (e.g. `list[str]` instead of `typing.List[str]`). I believe this required Python 3.9. Change-Id: I3698e28555e236a03126d4cd010dae4b5647ce48 Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
Diffstat (limited to 'gdb/python/py-micmd.c')
0 files changed, 0 insertions, 0 deletions