Enable pylint unnecessary-pass (#33650)
* Enable pylint unnecessary-pass * Process review suggestions * Fix smhi tests
This commit is contained in:
1 parent
000ad256fb
commit
7653dc947a
79 files changed
-349
No files matched your search
@@ -72,8 +72,6 @@ ALLOWED_DT_UTIL = {
|
||||
class ScriptError(HomeAssistantError):
|
||||
"""When a script error occurs."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
def setup(hass, config):
|
||||
"""Initialize the Python script component."""
|
||||
@@ -216,7 +214,6 @@ class StubPrinter:
|
||||
|
||||
def __init__(self, _getattr_):
|
||||
"""Initialize our printer."""
|
||||
pass
|
||||
|
||||
def _call_print(self, *objects, **kwargs):
|
||||
"""Print text."""
|
||||
|
||||
Reference in new issue
Block a user