summaryrefslogtreecommitdiff
path: root/pylint/checkers/classes/__init__.py
blob: 2b0e595e6469e94e3bb4888846297701415d5dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE

from typing import TYPE_CHECKING

from pylint.checkers.classes.class_checker import ClassChecker
from pylint.checkers.classes.special_methods_checker import SpecialMethodsChecker

if TYPE_CHECKING:
    from pylint.lint import PyLinter


def register(linter: "PyLinter") -> None:
    linter.register_checker(ClassChecker(linter))
    linter.register_checker(SpecialMethodsChecker(linter))