Skip to content

Commit

Permalink
Fix linting in callback_fx.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mgkwill committed Jun 28, 2023
1 parent e189d8a commit 4f50a36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lava/magma/core/callback_fx.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ def __init__(self,
def pre_run_callback(self,

Check warning on line 74 in src/lava/magma/core/callback_fx.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/lava/magma/core/callback_fx.py#L74

Signature differs from overridden 'pre_run_callback' method
board: NxBoard,
_var_id_to_var_model_map: dict = None
) -> None:
) -> None:
for fx in self.pre_run_fxs:
fx(board)

def post_run_callback(self,

Check warning on line 81 in src/lava/magma/core/callback_fx.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/lava/magma/core/callback_fx.py#L81

Signature differs from overridden 'post_run_callback' method
board: NxBoard,
_var_id_to_var_model_map: dict = None
) -> None:
board: NxBoard,
_var_id_to_var_model_map: dict = None
) -> None:
for fx in self.post_run_fxs:
fx(board)

0 comments on commit 4f50a36

Please sign in to comment.