Skip to content

Commit

Permalink
ignore sympy folder in run_format.sh (#343)
Browse files Browse the repository at this point in the history
* ignore sympy folder in run_format.sh

The sympy folder contains generated cpp files which we don't want to
auto-format.

This was apparently missed during the py -> sympy folder rename:
4da9a55

See: #342 (comment)

* run_format.sh: fix header files not being formatted
  • Loading branch information
NikolausDemmel committed Mar 18, 2022
1 parent 19299e1 commit 0f7f957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_format.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
find . -type d \( -path ./py -o -path ./doxyrest_b -o -path "./*/CMakeFiles/*" \) -prune -o -iname *.hpp -o -iname *.cpp -print | xargs clang-format -i
find . -type d \( -path ./sympy -o -path ./doxyrest_b -o -path "./*/CMakeFiles/*" \) -prune -o \( -iname "*.hpp" -o -iname "*.cpp" \) -print | xargs clang-format -i

0 comments on commit 0f7f957

Please sign in to comment.