Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Ignored pylint useless-object-inheritance globally for py2 compability
Browse files Browse the repository at this point in the history
  • Loading branch information
tchellomello committed Jul 17, 2018
1 parent da92f39 commit 477447a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyarlo/base_station.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ def available_modes_with_ids(self):
modes = self.get_available_modes()
try:
if modes:
# pylint: disable=consider-using-dict-comprehension
simple_modes = dict(
[(m.get("type", m.get("name")), m.get("id"))
for m in modes]
Expand Down
3 changes: 2 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ disable=
too-many-statements,
too-many-lines,
too-few-public-methods,
abstract-method
abstract-method,
useless-object-inheritance

[EXCEPTIONS]
overgeneral-exceptions=Exception

0 comments on commit 477447a

Please sign in to comment.