Coverage for C:\Repos\ekr-pylint\pylint\extensions\__init__.py: 75%
8 statements
« prev ^ index » next coverage.py v6.4, created at 2022-05-24 10:21 -0500
« prev ^ index » next coverage.py v6.4, created at 2022-05-24 10:21 -0500
1# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
2# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
3# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
5from __future__ import annotations
7from typing import TYPE_CHECKING
9from pylint.utils import register_plugins
11if TYPE_CHECKING:
12 from pylint.lint import PyLinter
15def initialize(linter: PyLinter) -> None:
16 """Initialize linter with checkers in the extensions' directory."""
17 register_plugins(linter, __path__[0])
20__all__ = ["initialize"]