Skip to content

pre-commit-init.py creates pre-commit files that don't pass self checks #13

@m-iwanicki

Description

@m-iwanicki
 ./pre-commit-init.py <path/to/repo> markdown

initializes pre-commit that fails it's own checks:

fix end of files.........................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook

(...)
Fixing .pre-commit-config.yaml

There were 2 newlines at the end of .pre-commit-config.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions