Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups * Remove outdated pylint bug references * Add flake8-noqa config and note to run it every now and then * Add codes to noqa's * Unused noqa cleanups
This commit is contained in:
parent
38a2f196b8
commit
dc880118a4
217 changed files with 237 additions and 306 deletions
|
@ -642,7 +642,6 @@ class Event:
|
|||
|
||||
def __repr__(self) -> str:
|
||||
"""Return the representation."""
|
||||
# pylint: disable=maybe-no-member
|
||||
if self.data:
|
||||
return f"<Event {self.event_type}[{str(self.origin)[0]}]: {util.repr_helper(self.data)}>"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue