Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
viniarck committed Nov 2, 2022
1 parent 5153d17 commit 6e0dacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,8 @@ def notify_current_topology(self) -> None:
self.controller.buffers.app.put(event)

@listen_to("kytos/topology.get")
def on_get_topology(self, event) -> None:
def on_get_topology(self, _event) -> None:
"""Handle kytos/topology.get."""
self.notify_current_topology()

@listen_to("kytos/.*.liveness.(up|down)")
Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from unittest import TestCase
from unittest.mock import MagicMock, create_autospec, patch

from kytos.core import KytosEvent
from kytos.core.common import EntityStatus
from kytos.core.interface import Interface
from kytos.core.link import Link
Expand Down

0 comments on commit 6e0dacd

Please sign in to comment.