Skip to content

Commit

Permalink
Fix ignored tests for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed May 4, 2024
1 parent d6d3b34 commit f43e3e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ ignore = [

# 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)
"/tests/*",

# but we still want to format rmake.rs files in tests/run-make/ so we need to do this
# dance to avoid the parent directory from being excluded
"!/tests/run-make/",
"/tests/run-make/*/*.rs",
"!/tests/run-make/*/rmake.rs",

# do not format submodules
Expand Down

0 comments on commit f43e3e2

Please sign in to comment.