-
Notifications
You must be signed in to change notification settings - Fork 46
chore: create and apply rustfmt.toml #213
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
chore: create and apply rustfmt.toml #213
Conversation
Pull Request Test Coverage Report for Build 15148639587Details
💛 - Coveralls |
|
I didn't realize this would require +nightly. Any idea when the |
notmandatory
left a comment
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.
ACK 0b5e3f6
It's a little ackward to have to use cargo +nightly fmt but since it only needs to be done before pushing the PR and will make all the docs and docs tests more consistent I'd still like to do it.
Not sure, but once it's in stable we can revert it. By the way, I made an identical PR on |
|
Concept ACK If we do this I think we should remove the extra For the future I would look at increasing some of the granular width settings such as
You mean I ran |
True.
Maybe just comment it out so it's easier to revert when these formatting rules become stable?
We need one of those! |
0b5e3f6 to
e736cf9
Compare
|
I don't understand what |
|
I got this from the rustfmt docs:
|
notmandatory
left a comment
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.
ACK e736cf9
e736cf9 to
4cc810a
Compare
4cc810a to
ec7c303
Compare
ec7c303 to
a064393
Compare
|
Rebased to trigger CI. |
notmandatory
left a comment
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.
ACK a064393
Description
Closes #3.
This PR adds basic formatting configuration for uniform comments. Note that the nightly toolchain is necessary.
Changes:
rustfmt.tomlwith this config:rustfmt.toml.fmtCI job to use the nightly toolchain.cargo fmt->cargo +nightly fmt).Note: I had to add
#[rustfmt::skip]totest_extract_satisfaction_timelock()because the base64 PSBT would get wrapped due to the slashes.Checklists
All Submissions:
cargo +nightly fmtandcargo clippybefore committingBugfixes: