diff options
| author | blasty <peter@haxx.in> | 2026-08-21 12:14:46 +0200 |
|---|---|---|
| committer | blasty <peter@haxx.in> | 2026-08-21 12:15:15 +0200 |
| commit | 02d02417800184fb76cd0245cdaa94c437aa4081 (patch) | |
| tree | 7589e6e2e8426bb7370fc56eee52d1559c9d7e57 /tools/verify_procs.py | |
| parent | adopt ruff: pinned formatter + import sorting, opt-in pre-commit hook (diff) | |
| download | ida-tui-02d02417800184fb76cd0245cdaa94c437aa4081.tar.gz ida-tui-02d02417800184fb76cd0245cdaa94c437aa4081.tar.xz ida-tui-02d02417800184fb76cd0245cdaa94c437aa4081.zip | |
reformat: ruff format + import sort, mechanically (see ruff.toml)
No behavior. Listed in .git-blame-ignore-revs (next commit).
Diffstat (limited to 'tools/verify_procs.py')
| -rw-r--r-- | tools/verify_procs.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/verify_procs.py b/tools/verify_procs.py index 323bf1f..f112cbc 100644 --- a/tools/verify_procs.py +++ b/tools/verify_procs.py @@ -30,6 +30,7 @@ from idatui.formats import PROCESSORS # noqa: E402 def main() -> int: import idapro + idapro.enable_console_messages(False) import ida_auto import ida_ida @@ -55,9 +56,12 @@ def main() -> int: bits = "" if rc == 0: import ida_ida + bits = f" bitness={ida_ida.inf_get_app_bitness()}" ok = rc == 0 and got.lower() == base.lower() - print(f" {'ok ' if ok else 'BAD '} {name:<14} rc={rc} -> {got!r}{bits} {desc}") + print( + f" {'ok ' if ok else 'BAD '} {name:<14} rc={rc} -> {got!r}{bits} {desc}" + ) if rc == 0: idapro.close_database(save=False) if not ok: |
