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

Add commands to apply and check codestyle #207

Merged

Conversation

mdedetrich
Copy link
Contributor

As can be seen from #205 (comment) users unfamiliar to the codebase are having issues both checking/applying scalafmt and javafmt to the codebase

@@ -124,12 +129,8 @@ lazy val `pekko-connectors` = project
crossScalaVersions := List() // workaround for https://github.com/sbt/sbt/issues/3465
)

TaskKey[Unit]("verifyCodeFmt") := {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have opted to replace this because the current style is overcomplicated especially when compared to addCommandAlias. This style made more sense in the past when we weren't checking that code was formatted on PR but this is no longer the case

Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mdedetrich mdedetrich merged commit b9fad2d into apache:main Jul 31, 2023
50 checks passed
@mdedetrich mdedetrich deleted the add-commands-to-check-apply-code-style branch August 1, 2023 16:26
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.

None yet

2 participants