PHP 8.2.31
Preview: __init__.py Size: 1.53 KB
//proc/self/root/opt/cloudlinux/venv/lib/python3.11/site-packages/pylint/checkers/base/__init__.py

# 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
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt

# pylint: disable=duplicate-code # This is similar to the __init__ of .name_checker

from __future__ import annotations

__all__ = [
    "NameChecker",
    "NamingStyle",
    "KNOWN_NAME_TYPES_WITH_STYLE",
    "SnakeCaseStyle",
    "CamelCaseStyle",
    "UpperCaseStyle",
    "PascalCaseStyle",
    "AnyStyle",
]

from typing import TYPE_CHECKING

from pylint.checkers.base.basic_checker import BasicChecker
from pylint.checkers.base.basic_error_checker import BasicErrorChecker
from pylint.checkers.base.comparison_checker import ComparisonChecker
from pylint.checkers.base.docstring_checker import DocStringChecker
from pylint.checkers.base.name_checker import (
    KNOWN_NAME_TYPES_WITH_STYLE,
    AnyStyle,
    CamelCaseStyle,
    NamingStyle,
    PascalCaseStyle,
    SnakeCaseStyle,
    UpperCaseStyle,
)
from pylint.checkers.base.name_checker.checker import NameChecker
from pylint.checkers.base.pass_checker import PassChecker

if TYPE_CHECKING:
    from pylint.lint import PyLinter


def register(linter: PyLinter) -> None:
    linter.register_checker(BasicErrorChecker(linter))
    linter.register_checker(BasicChecker(linter))
    linter.register_checker(NameChecker(linter))
    linter.register_checker(DocStringChecker(linter))
    linter.register_checker(PassChecker(linter))
    linter.register_checker(ComparisonChecker(linter))

Directory Contents

Dirs: 2 × Files: 6

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-05 08:01:15
Edit Download
- drwxr-xr-x 2026-02-05 08:01:15
Edit Download
39.70 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
21.99 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
13.54 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
7.73 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
992 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.53 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).