From d38f7312fdba1316e86f3b573fd2b3c0d1fdf39d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 7 Jan 2024 10:52:42 -0700 Subject: [PATCH] Fix the indent script. --- contrib/utilities/indent | 8 ++++---- contrib/utilities/indent-all | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/utilities/indent b/contrib/utilities/indent index ecde5c18a8..e2e7307e74 100755 --- a/contrib/utilities/indent +++ b/contrib/utilities/indent @@ -71,12 +71,12 @@ process_changed "source" ".*\.inst.in" format_inst process_changed "tests include source examples cmake/scripts contrib/python-bindings" \ ".*\.(cc|h|inst.in|output.*|cmake)" fix_permissions -process_changed "doc/news/*/*" "*" fix_permissions +process_changed "doc/news/*/*" "[A-Za-z0-9]*" fix_permissions process_changed "tests include source examples cmake/scripts contrib/python-bindings" \ ".*\.(cc|h|inst.in|cmake)" dos_to_unix -process_changed "doc/news/*/*" "*" dos_to_unix +process_changed "doc/news/*/*" "[A-Za-z0-9]*" dos_to_unix # # Removing trailing whitespace @@ -85,7 +85,7 @@ process_changed "doc/news/*/*" "*" dos_to_unix process_changed "tests include source examples cmake/scripts contrib/python-bindings doc" \ ".*\.(cc|h|html|dox|txt)" remove_trailing_whitespace -process_changed "doc/news/*/*" "*" remove_trailing_whitespace +process_changed "doc/news/*/*" "[A-Za-z0-9]*" remove_trailing_whitespace # # Ensure only a single newline at end of files @@ -94,4 +94,4 @@ process_changed "doc/news/*/*" "*" remove_trailing_whitespace process_changed "tests include source examples cmake/scripts contrib/python-bindings doc" \ ".*\.(cc|h|html|dox|txt)" ensure_single_trailing_newline -process_changed "doc/news/*/*" "*" ensure_single_trailing_newline +process_changed "doc/news/*/*" "[A-Za-z0-9]*" ensure_single_trailing_newline diff --git a/contrib/utilities/indent-all b/contrib/utilities/indent-all index e291788e40..5341b9eb2a 100755 --- a/contrib/utilities/indent-all +++ b/contrib/utilities/indent-all @@ -75,12 +75,12 @@ process "source" ".*\.inst.in" format_inst process "tests include source examples cmake/scripts contrib/python-bindings" \ ".*\.(cc|h|inst.in|output.*|cmake)" fix_permissions -process "doc/news/*/*" "*" fix_permissions +process "doc/news/*/*" "[A-Za-z0-9]*" fix_permissions process "tests include source examples cmake/scripts contrib/python-bindings" \ ".*\.(cc|h|inst.in|cmake)" dos_to_unix -process "doc/news/*/*" "*" dos_to_unix +process "doc/news/*/*" "[A-Za-z0-9]*" dos_to_unix # # Removing trailing whitespace @@ -89,7 +89,7 @@ process "doc/news/*/*" "*" dos_to_unix process "tests include source examples cmake/scripts contrib/python-bindings doc" \ ".*\.(cc|h|html|dox|txt)" remove_trailing_whitespace -process "doc/news/*/*" "*" remove_trailing_whitespace +process "doc/news/*/*" "[A-Za-z0-9]*" remove_trailing_whitespace # # Ensure only a single newline at end of files @@ -98,4 +98,4 @@ process "doc/news/*/*" "*" remove_trailing_whitespace process "tests include source examples cmake/scripts contrib/python-bindings doc" \ ".*\.(cc|h|html|dox|txt)" ensure_single_trailing_newline -process "doc/news/*/*" "*" ensure_single_trailing_newline +process "doc/news/*/*" "[A-Za-z0-9]*" ensure_single_trailing_newline -- 2.39.5