Autofix import order
This commit is contained in:
parent
98cdb276d8
commit
7bc4c514a6
59 changed files with 244 additions and 236 deletions
|
|
@ -4,8 +4,8 @@ At the top level are some basic testing functions. More specific testing utiliti
|
|||
provided by modules inside the package.
|
||||
"""
|
||||
|
||||
from typing import Protocol, Iterable
|
||||
from collections.abc import Hashable
|
||||
from typing import Iterable, Protocol
|
||||
|
||||
|
||||
class SizedIterableHashable(Iterable[Hashable], Protocol):
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@ import os
|
|||
import pickle
|
||||
|
||||
import numpy as np
|
||||
from scipy import interpolate
|
||||
from matplotlib import pyplot as plt
|
||||
from matplotlib.path import Path as MatPath
|
||||
from matplotlib.patches import PathPatch
|
||||
from matplotlib.figure import Figure
|
||||
from matplotlib.patches import PathPatch
|
||||
from matplotlib.path import Path as MatPath
|
||||
from scipy import interpolate
|
||||
|
||||
from openflexure_microscope_server import scan_planners
|
||||
|
||||
|
|
@ -145,8 +145,8 @@ def example_smart_spiral(
|
|||
|
||||
def profile_example_smart_spiral():
|
||||
"""Profile running an example scan and print the cumulative profile stats."""
|
||||
import pstats
|
||||
import cProfile
|
||||
import pstats
|
||||
|
||||
profiler = cProfile.Profile()
|
||||
profiler.runcall(example_smart_spiral)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue