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

fix(#3): return error in pre-commit on new output directories #5

Merged
merged 7 commits into from
Apr 22, 2023

Conversation

KyleKing
Copy link
Owner

@KyleKing KyleKing commented Nov 28, 2022

Fix #3

Using git ls-file and a few options, I can get the list of untracked directories. This should be cross-platform, but needs unit tests and to ensure edge cases are handled and that it works within pre-commit

@KyleKing KyleKing self-assigned this Nov 28, 2022
@sourcery-ai

This comment was marked as spam.

@KyleKing KyleKing changed the title fix(#3): first pass at possible fix fix(#3): return error in pre-commit on new output directories Nov 28, 2022
@KyleKing KyleKing marked this pull request as ready for review April 8, 2023 20:08
KyleKing and others added 2 commits April 21, 2023 20:27
Co-authored-by: Jairo Llopis <973709+yajo@users.noreply.github.com>
@KyleKing KyleKing merged commit bb1fd30 into main Apr 22, 2023
@KyleKing KyleKing deleted the fix-3 branch April 22, 2023 01:57
@KyleKing
Copy link
Owner Author

Merging so that I can open a new PR to improve the test suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No failure when used as pre-commit hook
2 participants