Format fixes from black

This commit is contained in:
Richard Bowman 2022-08-09 13:17:45 +01:00
parent 9dbb083ee7
commit 106b50d333
13 changed files with 101 additions and 32 deletions

View file

@ -352,7 +352,7 @@ class AutofocusExtension(BaseExtension):
metadata={
"description": "An ascending list of relative z positions",
"example": [int(x) for x in np.linspace(-300, 300, 7)],
}
},
)
}
)
@ -412,7 +412,9 @@ class AutofocusExtension(BaseExtension):
@extension_action(
args={
"dz": fields.Int(required=True, metadata={"description": "The relative Z move to make"})
"dz": fields.Int(
required=True, metadata={"description": "The relative Z move to make"}
)
}
)
def move_and_measure(
@ -579,7 +581,9 @@ class AutofocusExtension(BaseExtension):
),
"initial_move_up": fields.Bool(
load_default=True,
metadata={"description": "Set to Flase to disable the initial move upwards"},
metadata={
"description": "Set to Flase to disable the initial move upwards"
},
),
"backlash": fields.Int(
load_default=25,