src/nitpick/plugins/pre_commit.py
def can_handle(info: FileInfo) -> Optional[Type["NitpickPlugin"]]:
    """Handle pre-commit config file."""
    if info.path_from_root == PRE_COMMIT_CONFIG_YAML:
        return PreCommitPlugin
    return None
Handle pre-commit config file.
Handle pre-commit config file.
Handle pre - commit config file .
def can_handle(info: FileInfo) -> Optional[Type["NitpickPlugin"]]:
    if info.path_from_root == PRE_COMMIT_CONFIG_YAML:
        return PreCommitPlugin
    return None
def can_handle ( info : FileInfo ) -> Optional [ Type [ "NitpickPlugin" ] ] : if info . path_from_root == PRE_COMMIT_CONFIG_YAML : return PreCommitPlugin return None
Handle pre-commit config file.
Handle pre - commit config file .
"""Handle pre-commit config file."""
info
FileInfo