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

Added gofumpt to risor-modgen #179

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

applejag
Copy link
Contributor

Uses https://github.com/mvdan/gofumpt programmatically.

In PR #177 I want to add CI pipeline to run gofumpt, but the generated code is not fully correctly formatted. So the pipeline would complain about the generated files all of the time.

Instead of adding gofumpt to the //go:generate comment, let's just run the formatter in the same process.

@myzie myzie merged commit f86e202 into risor-io:main Jan 28, 2024
@applejag applejag deleted the feature/modgen-use-gofumpt branch January 28, 2024 13:16
myzie pushed a commit that referenced this pull request Jan 30, 2024
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.

2 participants