Cleanup: suppress unused Python warnings

Suppress unused warnings using the "vulture" utility.

- Include public definitions in the modules `__all__`.
- Mark arguments & variables as unused with a "_" prefix.
This commit is contained in:
Campbell Barton
2024-12-02 11:29:05 +11:00
parent a590fa749b
commit 6ca1417103
22 changed files with 97 additions and 12 deletions

View File

@@ -2,6 +2,17 @@
#
# SPDX-License-Identifier: GPL-2.0-or-later
__all__ = (
"NodeCategory",
"NodeItem",
"NodeItemCustom",
"draw_node_categories_menu",
"has_node_categories",
"node_items_iter",
"register_node_categories",
"unregister_node_categories",
)
import bpy