Closed tcharding closed 2 months ago
I can't work out what incantation of rustfmt
to use to get past CI, can you tell me please. I tried removing --check
from ci/rustfmt.sh
but got a million unrelated changes?
As one of the idiots that pushed for rustfmt
in rust-bitcoin
I'm aware of the irony in my request :)
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 89.78%. Comparing base (
88e1b56
) to head (0c19a99
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Oh sorry I can't read lol. rustfmt is mad about the ordering of your imports, so you should be able to just reorder imports repeatedly until the CI script passes.
Sweet, yesterday I thought I'd gone mad but master
is broken right now - there are formatting issues on it.
I don't believe so? CI on latest git doesn't show any issues on the rustfmt job, the issue here is that removing the blockdata
changed the alphabetical order of the imports so rustfmt is mad.
I'm traveling for the week, I'll come back to this. Thanks
Any desire to pick this back up?
Not if I have to re-order all the import statements by hand, sorry man.
You can rustfmt individual files, but alright, up to you 🤷♂️
FWIW I had another go at this and as far as I can tell there are formatting issues on master but reading the workflow I'm confused as to how they got past CI, but you guys have a fair few red PRs right now so I didn't look any further.
In
rust-bitcoin
theblockdata
module is a code organisation thing, it should never have been public. One day those guys would like to remove it, so as not to be a PITA forrust-lighting
when they do lets remove all usage ofblockdata::
now.Internal change only, no externally visible changes.