Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Apr 8, 2022
1 parent 9812fda commit 6b498a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion peakrdl/uvm/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, **kwargs):
Additional context variables to load into the template namespace.
"""
user_template_dir = kwargs.pop("user_template_dir", None)
self.user_template_context = kwargs.pop("user_template_context", dict())
self.user_template_context = kwargs.pop("user_template_context", {})

# Check for stray kwargs
if kwargs:
Expand Down
9 changes: 5 additions & 4 deletions test/pylint.rc
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,11 @@ disable=
invalid-str-codec,
sys-max-int,
bad-python3-import,

consider-using-f-string,

# Disable for now during development
fixme,

# User ignored limits
too-many-locals,
too-many-branches,
Expand All @@ -133,7 +134,7 @@ disable=
too-many-statements,
too-many-instance-attributes,
line-too-long,

useless-return,
no-else-return,
inconsistent-return-statements,
Expand All @@ -144,7 +145,7 @@ disable=
bad-continuation,
invalid-name,
missing-docstring,

unidiomatic-typecheck,
abstract-method,
protected-access
Expand Down

0 comments on commit 6b498a8

Please sign in to comment.