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

apply all formatters even when there's errors #366

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

brianmcgee
Copy link
Member

@brianmcgee brianmcgee commented Jul 30, 2024

When applying a sequence of formatters, continue applying the batch to successive formatters even if one of the stages fails.

Closes #316

If a formatter errors out, continue with subsequent formatters regardless.

Do not cache the result to ensure later invocations re-try the same files.

Signed-off-by: Brian McGee <[email protected]>
@brianmcgee brianmcgee force-pushed the feat/apply-all-formatters-on-error branch from 0f3f314 to b834fa3 Compare September 3, 2024 14:35
@brianmcgee brianmcgee changed the title wip: apply all formatters even when there's errors apply all formatters even when there's errors Sep 9, 2024
@brianmcgee brianmcgee marked this pull request as ready for review September 9, 2024 10:31
@brianmcgee brianmcgee merged commit 68f0c59 into main Sep 9, 2024
24 checks passed
@brianmcgee brianmcgee deleted the feat/apply-all-formatters-on-error branch September 9, 2024 13:27
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.

Errors reported only from the first failing linter
2 participants