-
Notifications
You must be signed in to change notification settings - Fork 745
Use a consistent style everywhere. #180
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
Conversation
@bors-servo delegate=fitzgen |
I'm still unsure about the "run it on CI" thing. It's nice but it seems it can be pretty annoying for new contributors. I'd say it's worth trying, but if we see too many people getting stuck with it, we can back it out. |
AWESOME!! I was going to bring this up soon, and I actually accidentally Taking a look now... |
The other thing is, if we have different versions of Soft -1 about running in CI. Ideally, bors or highfive or whoever would automatically run rustfmt after every merge, and if there was any change, then automatically merge a |
@fitzgen sounds good, I'll drop the CI commit. Meanwhile we can run it manually I guess. |
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.
Awesome :)
@@ -39,6 +40,8 @@ before_script: | |||
- echo $LIBCLANG_PATH | |||
|
|||
script: | |||
- export PATH=$PATH:~/.cargo/bin | |||
- cargo fmt -- --write-mode=diff |
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.
Soft -1 if this is going to cause travis CI to fail if there is any difference in the formatting. As mentioned before, we will hit this issue with different rustfmt
versions.
@@ -7,6 +7,7 @@ yourself. | |||
* [Code of Conduct](#coc) | |||
* [Filing an Issue](#issue) | |||
* [Building](#building) | |||
* [Automatic Code Formatting](#formatting) |
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.
Maybe put this after testing? I feel like learning about testing is more important for newcomers.
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.
Yup, agreed! Done :)
@bors-servo r+ |
For some reason bors didn't listen to me initially. Meh. @bors-servo r=fitzgen |
Reopened as #183, given homu was ignoring this one. |
rustfmt the world. Homu isn't listening to #180 apparently so hopefully it'll know about this one.
r? @fitzgen