forked from gergely/calendar-social
PyLint happiness (again)
This commit is contained in:
@@ -101,7 +101,7 @@ class ResponseType(Enum):
|
||||
return self.name.lower() == other.lower() # pylint: disable=no-member
|
||||
|
||||
if isinstance(other, (int, float)):
|
||||
return self.value == other
|
||||
return self.value == other # pylint: disable=comparison-with-callable
|
||||
|
||||
return Enum.__eq__(self, other)
|
||||
|
||||
@@ -792,7 +792,7 @@ class Response(db.Model): # pylint: disable=too-few-public-methods
|
||||
response = db.Column(db.Enum(ResponseType), nullable=False)
|
||||
|
||||
|
||||
class AppState(app_state_base(db.Model)): # pylint: disable=too-few-public-methods
|
||||
class AppState(app_state_base(db.Model)): # pylint: disable=too-few-public-methods,inherit-non-class
|
||||
"""Database model for application state values
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user