pylint: ignore access-member-before-definition explicitly
In case of Cell.status property, the code has a good readability, so it sounds reasonable to ignore access-member-before-definition, although access-member-before-definition itself is a useful check. Change-Id: Ic6f2ec42bac41c62265e6b0e744c256007093ce6
This commit is contained in:
parent
02a0f81f96
commit
86d1826a29
|
@ -10,7 +10,6 @@ disable=
|
|||
# "I" Informational noise
|
||||
locally-disabled,
|
||||
# "E" Error for important programming issues (likely bugs)
|
||||
access-member-before-definition,
|
||||
assignment-from-no-return,
|
||||
bad-super-call,
|
||||
import-error,
|
||||
|
|
|
@ -843,6 +843,7 @@ class Cell(html.HTMLElement):
|
|||
"""Gets the status for the column based on the cell's data."""
|
||||
# Deal with status column mechanics based in this cell's data
|
||||
if hasattr(self, '_status'):
|
||||
# pylint: disable=access-member-before-definition
|
||||
return self._status
|
||||
|
||||
if self.column.status or \
|
||||
|
|
Loading…
Reference in New Issue