Skip to content

Commit

Permalink
Use literal dict (#430)
Browse files Browse the repository at this point in the history
Use literal dict to satisfy linter
  • Loading branch information
dbieber authored Feb 1, 2023
1 parent e1e95ff commit 2d2fa61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fire/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,5 @@ def GetMetadata(fn):
def GetParseFns(fn):
# type: (...) -> dict
metadata = GetMetadata(fn)
default = dict(default=None, positional=[], named={})
default = {"default": None, "positional": [], "named": {}}
return metadata.get(FIRE_PARSE_FNS, default)

0 comments on commit 2d2fa61

Please sign in to comment.