diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 79f313670df..dcf7c4b5578 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,6 @@ repos: (?x)^( src/core/.*| src/gui/.*| - src/analysis/.*| src/3d/.*| src/server/.*| tests/code_layout/sipify/sipifyheader.h diff --git a/scripts/prepare_commit.sh b/scripts/prepare_commit.sh index af4e175829a..e0538fc5698 100755 --- a/scripts/prepare_commit.sh +++ b/scripts/prepare_commit.sh @@ -120,7 +120,7 @@ for f in $MODIFIED; do esac # only run astyle on sipified directories, others are handled by clang-format (see .pre-commit-config.yaml) - if [[ $f =~ ^src/(core|gui|analysis|3d|server) ]]; then + if [[ $f =~ ^src/(core|gui|3d|server) ]]; then m=$f.$REV.prepare cp "$f" "$m" ASTYLEPROGRESS=" [$i/$N]" astyle.sh "$f" diff --git a/scripts/verify_indentation.sh b/scripts/verify_indentation.sh index 82d96623282..6a4e8020214 100755 --- a/scripts/verify_indentation.sh +++ b/scripts/verify_indentation.sh @@ -40,7 +40,7 @@ for f in $FILES; do esac # only run astyle on sipified directories, others are handled by clang-format (see .pre-commit-config.yaml) - if [[ $f =~ ^src/(core|gui|analysis|3d|server) ]]; then + if [[ $f =~ ^src/(core|gui|3d|server) ]]; then m="$f.prepare" cp "$f" "$m" astyle.sh "$f"