mirror of
https://github.com/home-assistant/core.git
synced 2026-06-08 00:17:16 +01:00
Enable pylint unnecessary-pass (#33650)
* Enable pylint unnecessary-pass * Process review suggestions * Fix smhi tests
This commit is contained in:
@@ -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