mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Update pylint to 2.14.0 (#73119)
This commit is contained in:
@@ -3,19 +3,16 @@ from __future__ import annotations
|
||||
|
||||
from astroid import nodes
|
||||
from pylint.checkers import BaseChecker
|
||||
from pylint.interfaces import IAstroidChecker
|
||||
from pylint.lint import PyLinter
|
||||
|
||||
|
||||
class HassConstructorFormatChecker(BaseChecker): # type: ignore[misc]
|
||||
"""Checker for __init__ definitions."""
|
||||
|
||||
__implements__ = IAstroidChecker
|
||||
|
||||
name = "hass_constructor"
|
||||
priority = -1
|
||||
msgs = {
|
||||
"W0006": (
|
||||
"W7411": (
|
||||
'__init__ should have explicit return type "None"',
|
||||
"hass-constructor-return",
|
||||
"Used when __init__ has all arguments typed "
|
||||
|
||||
Reference in New Issue
Block a user