This repository has been archived on 2026-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
shutter-view-api/lib/python3.9/site-packages/pylint/extensions/__init__.py
T
2022-12-10 21:17:54 -06:00

21 lines
575 B
Python

# 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
from __future__ import annotations
from typing import TYPE_CHECKING
from pylint.utils import register_plugins
if TYPE_CHECKING:
from pylint.lint import PyLinter
def initialize(linter: PyLinter) -> None:
"""Initialize linter with checkers in the extensions' directory."""
register_plugins(linter, __path__[0])
__all__ = ["initialize"]