Skip to content

Commit

Permalink
pylint: disable=no_member
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 30, 2025
1 parent 8251727 commit 8452310
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spynnaker/pyNN/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from numpy.typing import NDArray
from typing_extensions import TypeAlias, TypeGuard

import neo # type: ignore[import]
import neo
from pyNN.random import RandomDistribution

#: The type of weights and delays provided by Synapse / SynapseInformation
Expand All @@ -38,7 +38,8 @@
Weight_Delay_In_Types: TypeAlias = Optional[Union[
int, float, str, RandomDistribution, Iterable[int], Iterable[float]]]

IoDest: TypeAlias = Union[str, neo.baseio.BaseIO, None]
IoDest: TypeAlias = Union[
str, neo.baseio.BaseIO, None] # pylint: disable=no_member


def is_scalar(value: Weight_Delay_Types) -> TypeGuard[Union[int, float]]:
Expand Down

0 comments on commit 8452310

Please sign in to comment.