Skip to content

Improve style nit check for space after a comma - #7499

Merged
bors-servo merged 3 commits into
servo:masterfrom
nerith:style
Sep 2, 2015
Merged

bors-servo merged 3 commits into
servo:masterfrom
nerith:style

Conversation

@nerith

@nerith nerith commented Sep 1, 2015

Copy link
Copy Markdown
Contributor

Fixes #7345.

Review on Reviewable

Only a small number of things that followed a comma were flagged.
This improves the thoroughness of that check.

Fixes servo#7345.
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 1, 2015
@highfive

highfive commented Sep 1, 2015

Copy link
Copy Markdown

warning Warning warning

  • These commits modify layout code, but no reftests are modified. Please consider adding a reftest!

@metajack

metajack commented Sep 1, 2015

Copy link
Copy Markdown
Collaborator

Looks good, but a few small nits found.


Reviewed 1 of 1 files at r1, 1 of 1 files at r2, 13 of 13 files at r3.
Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.


components/script/document_loader.rs, line 63 [r3] (raw file):
I think we don't want trailing comma in function declarations.


python/tidy.py, line 202 [r2] (raw file):
Nit: no need for brackets here.


Comments from the review on Reviewable.io

@metajack metajack self-assigned this Sep 1, 2015
@metajack

metajack commented Sep 1, 2015

Copy link
Copy Markdown
Collaborator

@jdm agreed

@jdm jdm added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 1, 2015
Lines with macros were flagged as errors when checking
for space after a comma.
This fixes lines that were reported to have missing
space after a comma.
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Sep 1, 2015
@metajack

metajack commented Sep 2, 2015

Copy link
Copy Markdown
Collaborator

@bors-servo r+


Reviewed 14 of 14 files at r4, 13 of 13 files at r5.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from the review on Reviewable.io

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit d61a6e2 has been approved by metajack

@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 Sep 2, 2015
bors-servo pushed a commit that referenced this pull request Sep 2, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit d61a6e2 with merge 3424e23...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants