From cd3979dba1b1495114d8ccdf2d6f6ada72e37838 Mon Sep 17 00:00:00 2001 From: est31 Date: Mon, 19 Sep 2022 15:11:15 +0200 Subject: [PATCH] Add all submodules to the list of directories tidy skips I ran git config --file .gitmodules --name-only --get-regexp path and added all submodules that were not already in the list to it. --- src/tools/tidy/src/walk.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tools/tidy/src/walk.rs b/src/tools/tidy/src/walk.rs index b07e80767fa..4cfb70fa31c 100644 --- a/src/tools/tidy/src/walk.rs +++ b/src/tools/tidy/src/walk.rs @@ -21,6 +21,12 @@ pub fn filter_dirs(path: &Path) -> bool { "src/tools/rust-installer", "src/tools/rustfmt", "src/doc/book", + "src/doc/edition-guide", + "src/doc/embedded-book", + "src/doc/nomicon", + "src/doc/rust-by-example", + "src/doc/rustc-dev-guide", + "src/doc/reference", // Filter RLS output directories "target/rls", "src/bootstrap/target",