mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
add analysis to clang-format
This commit is contained in:
parent
9f6f941b44
commit
c2d98700a3
@ -18,7 +18,6 @@ repos:
|
||||
(?x)^(
|
||||
src/core/.*|
|
||||
src/gui/.*|
|
||||
src/analysis/.*|
|
||||
src/3d/.*|
|
||||
src/server/.*|
|
||||
tests/code_layout/sipify/sipifyheader.h
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user