Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrolanzieri committed Jun 26, 2024
1 parent 3bd79f0 commit 1a5bbe9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion riotctrl/ctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ def get_ctrl(self, application_directory=".", env=None):
:param env: `env` initialization parameter for
the RIOTCtrl object.
"""
... # pragma: no cover


class RIOTCtrlBoardFactory(RIOTCtrlFactoryBase):
Expand Down
3 changes: 1 addition & 2 deletions riotctrl/tests/ctrl_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class MyFactory(riotctrl.ctrl.RIOTCtrlFactoryBase):
"""Dummy factory class that cannot be instanciated."""

# pylint:disable=too-few-public-methods
...

with pytest.raises(TypeError) as exc_info:
_ = MyFactory() # pylint:disable=abstract-class-instantiated
Expand Down Expand Up @@ -104,7 +103,7 @@ def test_running_echo_application(app_pidfile_env):
env.update(app_pidfile_env)

ctrl = riotctrl.ctrl.RIOTCtrl(APPLICATIONS_DIR, env)
ctrl.TERM_STARTED_DELAY = 1
ctrl.TERM_STARTED_DELAY = 1 # pylint: disable=invalid-name

with ctrl.run_term(logfile=sys.stdout) as child:
child.expect_exact("Starting RIOT Ctrl")
Expand Down

0 comments on commit 1a5bbe9

Please sign in to comment.