Skip to content

Add rustfmt command to devenv commands - #21376

Merged
bors-servo merged 3 commits into
servo:masterfrom
JoshBrudnak:master
Aug 10, 2018
Merged

bors-servo merged 3 commits into
servo:masterfrom
JoshBrudnak:master

Conversation

@JoshBrudnak

@JoshBrudnak JoshBrudnak commented Aug 10, 2018 •

Copy link
Copy Markdown
Contributor

Added the rustfmt command to devenv commands which runs cargo fmt on a specified directory.


  • There are tests for these changes OR
  • These changes do not require tests because they only included a simple command that was added to the devenv_commands python script.

This change is Reviewable

@highfive

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @avadacatavra (or someone else) soon.

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @wafflespeanut: python/servo/devenv_commands.py

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 10, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #21366) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Aug 10, 2018
@jdm

jdm commented Aug 10, 2018

Copy link
Copy Markdown
Member

./mach test-tidy reports some warnings:

./python/servo/devenv_commands.py:231: W293 blank line contains whitespace
./python/servo/devenv_commands.py:244: W293 blank line contains whitespace
./python/servo/devenv_commands.py:231: trailing whitespace
./python/servo/devenv_commands.py:244: trailing whitespace

@jdm jdm added S-fails-tidy `./mach test-tidy` reported errors. and removed S-needs-rebase There are merge conflict errors. labels Aug 10, 2018
@jdm

jdm commented Aug 10, 2018

Copy link
Copy Markdown
Member

Otherwise these changes look good.

@jdm jdm removed the S-awaiting-review There is new code that needs to be reviewed. label Aug 10, 2018
@jdm jdm assigned jdm and unassigned avadacatavra Aug 10, 2018
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 10, 2018
@jdm

jdm commented Aug 10, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 936ec08 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 10, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 936ec08 with merge c362ade...

bors-servo pushed a commit that referenced this pull request Aug 10, 2018
Add rustfmt command to devenv commands

Added the rustfmt command to devenv commands which runs cargo fmt on a specified directory.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #21374

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they only included a simple command that was added to the devenv_commands python script.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21376)
<!-- Reviewable:end -->
@ghost

ghost commented Aug 10, 2018

Copy link
Copy Markdown

Uh, there's a merge commit.

@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo
bors-servo merged commit 936ec08 into servo:master Aug 10, 2018
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-fails-tidy `./mach test-tidy` reported errors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a mach command to run rustfmt

5 participants