-
Notifications
You must be signed in to change notification settings - Fork 25
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
Adopt scalafmt for Scala code style #920
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM! I would expect @Scott-Guest to approvals for a more precise review of the config files!
@@ -0,0 +1,27 @@ | |||
version = 3.7.17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with duplicating the files for now, but we should consider pulling in .scalafmt.conf
from the parent project in a follow up PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, but see my comments about the property and dependency declarations
Thanks @Scott-Guest - I didn't realise Maven worked like that! |
I have addressed the duplicated configuration elements; going to merge this now. |
In runtimeverification/k#3841, we adopted the
scalafmt
tool to auto-format the Scala code in the K frontend. This PR adopts a precisely identical formatting setup for the LLVM backend's Scala code.