Skip to content

Commit

Permalink
Add pylint ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
tomba committed Sep 28, 2024
1 parent adaa5b2 commit 9fa980a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion py/rwmem/registerfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def _get_str(self, offset: int):
v = cp.value
if not v:
raise RuntimeError()
return v.decode('ascii')
return v.decode('ascii') # pylint: disable=no-member

def __getitem__(self, key: str):
if key not in self._regblock_infos:
Expand Down
3 changes: 3 additions & 0 deletions py/tests/test_mmap_regs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/python3

# pylint can't handle the dynamic fields we use
# pylint: skip-file

import os
import shutil
import stat
Expand Down

0 comments on commit 9fa980a

Please sign in to comment.