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

housekeeping: Updating pre-commit to ignore deleted files #3026

Merged
merged 2 commits into from
May 29, 2024

Conversation

jdslaugh
Copy link
Contributor

Description

Was noticed that when the pre-commit was run with a deleted file it would fail in the linting phase. Since it had been setup to fetch the names only it was unaware of which files were still present. Adding the filter option to filter out deleted files.

Before

Screenshot 2024-05-23 at 12 45 06 PM

After

Screenshot 2024-05-23 at 12 45 48 PM

Testing Performed

manual

@jdslaugh jdslaugh requested a review from a team as a code owner May 23, 2024 19:47
@jdslaugh jdslaugh merged commit 16f33de into main May 29, 2024
8 checks passed
@jdslaugh jdslaugh deleted the pre-commit-hook-lint branch May 29, 2024 23:29
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.

3 participants