Skip to content

Commit c2669e1

Browse files
committed
type proxy_integration_tests
1 parent 773ccf9 commit c2669e1

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/python_actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ jobs:
3232
coverage-package: spynnaker
3333
flake8-packages: spynnaker unittests spynnaker_integration_tests proxy_integration_tests
3434
pylint-packages: spynnaker
35-
mypy-packages: proxy_integration_tests
36-
mypy-full-packages: spynnaker unittests spynnaker_integration_tests
35+
mypy-packages:
36+
mypy-full-packages: spynnaker unittests spynnaker_integration_tests proxy_integration_tests
3737
cfg-file: spynnaker

mypy.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ spalloc="../spalloc/spalloc_client"
2727
fec="../SpiNNFrontEndCommon/spinn_front_end_common"
2828
test_base="../TestBase/spinnaker_testbase"
2929

30-
mypy --python-version 3.8 $utils $machine $man $pacman $spalloc $fec $test_base spynnaker unittests spynnaker_integration_tests
30+
mypy --python-version 3.8 $utils $machine $man $pacman $spalloc $fec $test_base spynnaker unittests spynnaker_integration_tests proxy_integration_tests

mypyd.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ spalloc="../spalloc/spalloc_client"
2727
fec="../SpiNNFrontEndCommon/spinn_front_end_common"
2828
test_base="../TestBase/spinnaker_testbase"
2929

30-
mypy --python-version 3.8 --disallow-untyped-defs $utils $machine $man $pacman $spalloc $fec $test_base spynnaker unittests spynnaker_integration_tests
30+
mypy --python-version 3.8 --disallow-untyped-defs $utils $machine $man $pacman $spalloc $fec $test_base spynnaker unittests spynnaker_integration_tests proxy_integration_tests
3131

proxy_integration_tests/test_python_debug/check_debug.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CheckDebug(BaseTestCase):
2929
that it does not crash in debug mode. All reports on.
3030
"""
3131

32-
def assert_reports(self):
32+
def assert_reports(self) -> None:
3333
skipped = cfg_paths_skipped()
3434
for section in config_sections():
3535
for option in config_options(section):
@@ -46,7 +46,7 @@ def assert_reports(self):
4646
raise AssertionError(
4747
f"Unable to find report for {option} {path}")
4848

49-
def debug(self):
49+
def debug(self) -> None:
5050
sim.setup(1.0)
5151
pop = sim.Population(100, sim.IF_curr_exp, {}, label="pop")
5252
pop.record("v")

proxy_integration_tests/test_python_debug/test_debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717

1818
class TestDebug(CheckDebug):
1919

20-
def test_debug(self):
20+
def test_debug(self) -> None:
2121
self.runsafe(self.debug)

0 commit comments

Comments
 (0)