8000 Add a disabled rustfmt.toml by tcharding · Pull Request #803 · rust-bitcoin/rust-bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add a disabled rustfmt.toml #803

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

Merged
merged 1 commit into from
Jan 21, 2022

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?

Cop 8000 y 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
0