-
Notifications
You must be signed in to change notification settings - Fork 16
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
base: master
Are you sure you want to change the base?
chore: create and apply rustfmt.toml #213
Conversation
Pull Request Test Coverage Report for Build 14543825347Details
💛 - Coveralls |
I didn't realize this would require +nightly. Any idea when the |
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 |
Description
Closes #3.
This PR adds basic formatting configuration for uniform comments. Note that the nightly toolchain is necessary.
Changes:
rustfmt.toml
with this config:rustfmt.toml
.fmt
CI job to use the nightly toolchain.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 fmt
andcargo clippy
before committingBugfixes: