Add-on: reformat with black

Use 'black' to reformat the add-on code.

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2024-07-29 17:50:49 +02:00
parent df4f94c642
commit 031667924a
2 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,7 @@ MAX_FAILED_PATHS = 8
HashableShamanFileSpec = tuple[str, int, str] HashableShamanFileSpec = tuple[str, int, str]
"""Tuple of the 'sha', 'size', and 'path' fields of a ShamanFileSpec.""" """Tuple of the 'sha', 'size', and 'path' fields of a ShamanFileSpec."""
# Mypy doesn't understand that submodules.pack.Packer exists. # Mypy doesn't understand that submodules.pack.Packer exists.
class Packer(submodules.pack.Packer): # type: ignore class Packer(submodules.pack.Packer): # type: ignore
"""Creates BAT Packs on a Shaman server.""" """Creates BAT Packs on a Shaman server."""

View File

@ -42,7 +42,9 @@ class FLAMENCO_PT_job_submission(bpy.types.Panel):
col = layout.column(align=True) col = layout.column(align=True)
col.prop(context.scene, "flamenco_job_name", text="Job Name") col.prop(context.scene, "flamenco_job_name", text="Job Name")
col.prop(context.scene, "flamenco_job_priority", text="Priority") col.prop(context.scene, "flamenco_job_priority", text="Priority")
col.prop(context.scene, "flamenco_job_submit_as_paused", text="Submit as Paused") col.prop(
context.scene, "flamenco_job_submit_as_paused", text="Submit as Paused"
)
# Refreshables: # Refreshables:
col = layout.column(align=True) col = layout.column(align=True)