mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
Remove ignore-wrong-coordinator-module in pylint CI (#117479)
This commit is contained in:
@@ -19,24 +19,9 @@ class HassEnforceCoordinatorModule(BaseChecker):
|
||||
"Used when derived data update coordinator should be placed in its own module.",
|
||||
),
|
||||
}
|
||||
options = (
|
||||
(
|
||||
"ignore-wrong-coordinator-module",
|
||||
{
|
||||
"default": False,
|
||||
"type": "yn",
|
||||
"metavar": "<y or n>",
|
||||
"help": "Set to ``no`` if you wish to check if derived data update coordinator "
|
||||
"is placed in its own module.",
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
def visit_classdef(self, node: nodes.ClassDef) -> None:
|
||||
"""Check if derived data update coordinator is placed in its own module."""
|
||||
if self.linter.config.ignore_wrong_coordinator_module:
|
||||
return
|
||||
|
||||
root_name = node.root().name
|
||||
|
||||
# we only want to check component update coordinators
|
||||
|
||||
Reference in New Issue
Block a user