Skip to content

Commit

Permalink
fix: set the defaults argument to None to fix dangerous-default-value…
Browse files Browse the repository at this point in the history
… lint
  • Loading branch information
blooop committed Sep 7, 2024
1 parent 18c2cc4 commit e60ddd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rocker/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ def check_args_for_activation(cls, cli_args):
return True if cli_args.get(cls.get_name()) else False

@staticmethod
def register_arguments(parser, defaults={}):
def register_arguments(parser, defaults:dict=None):
if defaults is None:
defaults={}
raise NotImplementedError


Expand Down

0 comments on commit e60ddd5

Please sign in to comment.