Skip to content

Commit 4906a4f

Browse files
committed
Mypy fixes
1 parent d971e90 commit 4906a4f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

spynnaker/pyNN/data/spynnaker_data_view.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _clear(self) -> None:
7373
# Using a dict to verify if later could be stored here only
7474
self._populations: Set[Population] = set()
7575
self._projections: Set[Projection] = set()
76-
self._pynn_report = None
76+
self._pynn_report: Optional[str] = None
7777

7878
def _hard_reset(self) -> None:
7979
"""
@@ -239,8 +239,8 @@ def get_sim_name(cls) -> str:
239239
return _version.NAME
240240

241241
@classmethod
242-
def write_pynn_report(cls, text: str, *args: List[Any],
243-
**kwargs: Dict[str, Any]) -> None:
242+
def write_pynn_report(cls, text: str, *args: Any,
243+
**kwargs: Any) -> None:
244244
"""
245245
Writes text to the PyNN report file, or does nothing if the report is
246246
disabled.

0 commit comments

Comments
 (0)