Skip to content

Commit

Permalink
pylint skip too-many-instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricks-Lab committed Jun 14, 2020
1 parent 7127c95 commit 3017aed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GPUmodules/GPUmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class ObjDict(dict):
Allow access of dictionary keys by key name.
"""
# pylint: disable=attribute-defined-outside-init
# pylint: disable=too-many-instance-attributes
def __getattr__(self, name):
if name in self:
return self[name]
Expand All @@ -86,6 +87,7 @@ class GpuItem:
"""An object to store GPU details.
"""
# pylint: disable=attribute-defined-outside-init
# pylint: disable=too-many-instance-attributes
_finalized = False
_button_labels = {'loading': 'Load%',
'power': 'Power',
Expand Down

0 comments on commit 3017aed

Please sign in to comment.