Skip to content

Commit

Permalink
Rollup merge of #69047 - ehuss:rustfmt-vendor, r=Centril
Browse files Browse the repository at this point in the history
Don't rustfmt check the vendor directory.

I need to be able to run `x.py tidy` to do license checks (which requires vendored dependencies).  However, when vendoring is enabled, it wants to rustfmt check the entire vendor directory, which doesn't work.
  • Loading branch information
jonas-schievink authored Feb 11, 2020
2 parents 8fcb1a3 + 6575abc commit 4f1f2b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ merge_derives = false
# tidy only checks files which are not ignored, each entry follows gitignore style
ignore = [
"build",
"/vendor/",

# tests for now are not formatted, as they are sometimes pretty-printing constrained
# (and generally rustfmt can move around comments in UI-testing incompatible ways)
Expand Down

0 comments on commit 4f1f2b5

Please sign in to comment.