Skip to content

Conversation

tcharding
Copy link
Member

We do not currently use rustfmt, this is a nuisance for devs who routinely work on code bases that do use rustfmt who often have their editors set to format on save. We can make the life of such devs much better by explicitly disabling formatting using rustfmt.toml.

ref: https://rust-lang.github.io/rustfmt/?version=v1.4.38&search=#disable_all_formatting

We do not currently use `rustfmt`, this is a nuisance for devs who
routinely work on code bases that do use rustfmt who often have their
editors set to format on save. We can make the life of such devs much
better by explicitly disabling formatting using `rustfmt.toml`.

ref: https://rust-lang.github.io/rustfmt/?version=v1.4.38&search=#disable_all_formatting
Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

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

tACK 08428ba

Ran cargo fmt locally and it did not do anything.

@thomaseizinger
Copy link
Contributor

Ran cargo fmt locally and it did not do anything.

Perhaps it makes sense to also add a CI check right away?

Copy link
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK 08428ba

@Kixunil
Copy link
Collaborator

Kixunil commented Jan 20, 2022

@thomaseizinger the value of CI for this is IMO close to zero. It's for contributors only and I don't expect it to change anytime soon.

Copy link
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

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

ACK 08428ba

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 08428ba

@apoelstra apoelstra merged commit 3118c09 into rust-bitcoin:master Jan 21, 2022
@tcharding tcharding deleted the disabled-rustfmt branch January 24, 2022 21:03
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.

5 participants