Cleanup: run autopep8 on release/scripts/modules/

This commit is contained in:
Campbell Barton 2022-04-20 15:12:10 +10:00
parent 38d8b088e7
commit 08dbd3bc7f
2 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def language_menu(args, settings):
po_to_uid = {os.path.basename(po_path_branch): uid
for can_use, uid, _num_id, _name, _isocode, po_path_branch
in utils_i18n.list_po_dir(settings.BRANCHES_DIR, settings)
in utils_i18n.list_po_dir(settings.BRANCHES_DIR, settings)
if can_use}
for po_dir in os.listdir(settings.BRANCHES_DIR):
po_dir = os.path.join(settings.BRANCHES_DIR, po_dir)

View File

@ -204,6 +204,7 @@ def draw(layout, context, context_member, property_type, *, use_edit=True):
# Add some spacing, so the right side of the buttons line up with layouts with decorators.
operator_row.label(text="", icon='BLANK1')
class PropertyPanel:
"""
The subclass should have its own poll function