Skip to content

Check-manifest in pre-commit hooks includes untracked files #97

@lauraporta

Description

@lauraporta

Describe the bug
Untracked files in a repository are considered in the evaluation of check-manifest during the pre-commit hooks.

To Reproduce
In a repo using the last cookie-cutter, have a tracked file staged for commit and an untracked file with an extension you are not managing in the MANIFEST file. You will see that pre-commit will fail at least at the check-manifest stage.

Expected behaviour
Untracked files should be ignored, what the pre-commit hooks should check should be the staged file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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