Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
phstratmann committed Jan 23, 2024
1 parent 87f14e1 commit b532d53
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# See: https://spdx.org/licenses/
import typing as ty

import numpy as np
from lava.magma.core.process.ports.ports import InPort, OutPort
from lava.magma.core.process.process import AbstractProcess, LogConfig
from lava.magma.core.process.variable import Var
Expand Down Expand Up @@ -118,7 +117,7 @@ def __init__(
def _input_validation(target_cost, timeout) -> None:
if (target_cost is None and timeout is None):
raise ValueError(
f"Both the target_cost and the timeout must be defined")
"Both the target_cost and the timeout must be defined")
if target_cost > 0 or target_cost < - 2 ** 31 + 1:
raise ValueError(
f"The target cost must in the range [-2**32 + 1, 0], "
Expand Down

0 comments on commit b532d53

Please sign in to comment.