diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-06-29 10:55:51 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-06-29 10:55:51 +0300 |
| commit | e73dbe15a51482210e714888a569375b10f4185d (patch) | |
| tree | b53c52553db04a0409ff29040f9d43e6593b004c /scripts | |
| parent | c152fcfb69a3868f8c53d3e63c7a4746c16ac09e (diff) | |
| download | fungus-launcher-e73dbe15a51482210e714888a569375b10f4185d.tar.gz fungus-launcher-e73dbe15a51482210e714888a569375b10f4185d.tar.xz | |
more ruff stuff
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/check_handlers.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/check_handlers.py b/scripts/check_handlers.py index f5056e8..0bc2b8f 100644 --- a/scripts/check_handlers.py +++ b/scripts/check_handlers.py @@ -95,9 +95,7 @@ def validate_file(filepath: Path, all_classes: dict[str, set[str]], except SyntaxError as exc: return [f"{filepath}: syntax error — {exc}"] - file_classes = {} # class_name -> set of method names - for cls_name, methods in _extract_classes(tree): - file_classes[cls_name] = methods + file_classes = {cls_name: methods for cls_name, methods in _extract_classes(tree)} for lineno, widget_attr, signal, handler_method in connect_calls: # Check: does the handler method exist on any class in this file? |
