Update pylint to 2.14.0 (#73119)

This commit is contained in:
Marc Mueller 2022-06-06 21:43:47 +02:00 committed by GitHub
parent ed54cea3f2
commit 983a76a91c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 14 additions and 25 deletions

View file

@ -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 "