Cleanup: resolve pylint warnings

This commit is contained in:
Campbell Barton
2025-09-30 10:45:29 +10:00
parent a40d484b1a
commit ab4a66bd48
3 changed files with 5 additions and 4 deletions

View File

@@ -287,7 +287,8 @@ PYGETTEXT_KEYWORDS = (() +
for it in ("add_input", "add_output")) +
# Node socket declarations: names with contexts
tuple((r"\.{}(?:<decl::.*?>\(|[^,]+,)\s*" + _msg_re + r"[^;]*\.translation_context\(\s*" + _ctxt_re + r"\s*\)").format(it)
tuple((r"\.{}(?:<decl::.*?>\(|[^,]+,)\s*" + _msg_re +
r"[^;]*\.translation_context\(\s*" + _ctxt_re + r"\s*\)").format(it)
for it in ("add_input", "add_output")) +
# Node socket declarations: description and error messages