Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lauraporta opened this issue Jan 12, 2024 · 0 comments
Open

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

lauraporta opened this issue Jan 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lauraporta
Copy link
Member

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.

@lauraporta lauraporta added the bug Something isn't working label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant