Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeprag committed Apr 8, 2020
1 parent bda8557 commit ed01cad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/_ext/attributesMixin.py
Expand Up @@ -16,9 +16,9 @@ def resolveAttributes(
) -> None:
"""Rewrite the object constructor to include the attributes"""
if objtype != "class":
return
return None
if not issubclass(obj, AttributesMixin):
return
return None

attrs = []
for attr in obj.attributes:
Expand Down
2 changes: 2 additions & 0 deletions docs/conf.py
Expand Up @@ -11,6 +11,8 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# pylint: disable=invalid-name
# pylint: disable=missing-class-docstring
# pylint: disable=missing-function-docstring
import os
import sys

Expand Down
3 changes: 2 additions & 1 deletion pyzwave/commandclass/AssociationGrpInfo.py
Expand Up @@ -198,5 +198,6 @@ async def interview(self):
await self.send(
GroupInfoGet(refreshCache=False, listMode=True, groupingIdentifier=0)
)
# We do not know when we have received everything so we mark the command class as interviewed...
# We do not know when we have received everything so we mark the command class
# as interviewed...
return True

0 comments on commit ed01cad

Please sign in to comment.