Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Oct 15, 2024
1 parent cf961d8 commit 509c82f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/peakrdl_ipxact/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ def parse_field(
volatile = d.get("volatile", False)
if sw_access == rdltypes.AccessType.r:
hw_access = rdltypes.AccessType.w
elif sw_access in (rdltypes.AccessType.w, rdltypes.AccessType.w1, rdltypes.AccessType.rw, rdltypes.AccessType.rw1):
else:
if volatile:
hw_access = rdltypes.AccessType.rw
else:
Expand Down
1 change: 1 addition & 0 deletions tests/pylint.rc
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ disable=
too-many-statements,
too-many-instance-attributes,
too-many-function-args,
too-many-positional-arguments,
line-too-long,

# Noise / Don't care
Expand Down

0 comments on commit 509c82f

Please sign in to comment.