Skip to content

Commit

Permalink
Merge pull request #2 from vimist/unused__class__variable
Browse files Browse the repository at this point in the history
Stopped pylint complaining about unused variable __class__
  • Loading branch information
vimist committed Feb 15, 2018
2 parents d116815 + 5b9d70d commit aa41dbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion logger_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_callable_name(clbl):
callable=clbl.__qualname__)


# pylint: disable=too-many-instance-attributes
# pylint: disable=too-many-instance-attributes,unused-variable
class LoggerHelper:
"""Log calls to class methods and functions."""

Expand Down
1 change: 1 addition & 0 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def exception_function():
raise Exception('This is an exception')


# pylint: disable=unused-variable
class BasicClass:
def __init__(self):
self.value = 'Test'
Expand Down

0 comments on commit aa41dbc

Please sign in to comment.