Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Dec 12, 2024
1 parent 2053baa commit be370bf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from typing import Iterable, List, Optional, Sequence, Tuple, Union, cast
from typing_extensions import TypeAlias
from spinn_utilities.typing.coords import XYP
from spinn_front_end_common.data import FecDataView
from spinn_front_end_common.utilities.base_database import (
BaseDatabase, _SqliteTypes)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class EnergyReport(object):
__slots__ = ()

@classmethod
def file_name(cls, n_run:int):
def file_name(cls, n_run: int) -> str:
""" Name of the Energy report file for this run """
return f"energy_report_{n_run}.rpt"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,12 @@
from spinn_front_end_common.interface.buffer_management.buffer_models import (
AbstractReceiveBuffersToHost)
from spinn_front_end_common.interface.ds import DataSpecificationGenerator
from spinn_front_end_common.interface.provenance import ProvenanceWriter
from spinn_front_end_common.utilities.constants import (
SYSTEM_BYTES_REQUIREMENT, SIMULATION_N_BYTES, BYTES_PER_WORD)
from spinn_front_end_common.utilities.helpful_functions import (
locate_memory_region_for_placement)
from spinn_front_end_common.interface.simulation.simulation_utilities import (
get_simulation_header_array)
from spinn_front_end_common.interface.buffer_management.storage_objects\
.buffer_database import PROVENANCE_CORE_KEY

logger = FormatAdapter(logging.getLogger(__name__))
BINARY_FILE_NAME = "chip_power_monitor.aplx"
Expand Down

0 comments on commit be370bf

Please sign in to comment.