Skip to content

Commit

Permalink
use regex to ignore headers from submodules for clang-tidy (#308)
Browse files Browse the repository at this point in the history
* use regex to ignore headers from submodules

* add Exec to clang-tidy regex

* test clang-tidy breaking changes

* Revert "test clang-tidy breaking changes"

This reverts commit 3f6862d.

* let regex capture all Pele* submodules, not just PelePhysics

---------

Co-authored-by: Bruce Perry <[email protected]>
Co-authored-by: Bruce Perry <[email protected]>
Co-authored-by: Bruce Perry <[email protected]>
Co-authored-by: Bruce Perry <[email protected]>
  • Loading branch information
5 people authored Nov 17, 2023
1 parent ab4316a commit 047b533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Checks: 'bugprone-*,
-readability-function-cognitive-complexity,
-readability-function-size'
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
HeaderFilterRegex: 'PeleLMeX\/Source|PeleLMeX\/Exec|PeleLMeX\/Submodules\/Pele'
AnalyzeTemporaryDtors: false
FormatStyle: none
User: user
Expand Down

0 comments on commit 047b533

Please sign in to comment.