Fix ignored tests for formatting

This commit is contained in:
Urgau 2024-05-04 12:37:30 +02:00
parent d6d3b342e8
commit f43e3e2023
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ ignore = [
# tests for now are not formatted, as they are sometimes pretty-printing constrained # 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) # (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", "!/tests/run-make/*/rmake.rs",
# do not format submodules # do not format submodules