GRTLCollaboration / GRTeclyn

Port of GRChombo to AMReX - under development!
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

CI: Add list of files for clang-tidy to ignore #66

Closed mirenradia closed 2 weeks ago

mirenradia commented 2 weeks ago

cpp-linter-action added support for an ignore-tidy option in v2.12.0 to allow passing a list of files for clang-tidy to ignore.

This PR adds a .lint-ignore file which contains the glob patterns of files to be passed to ignore-tidy. These are currently mostly files that have yet to be ported from GRChombo to AMReX.

To ensure the .lint-ignore file is updated as more code is ported, I have added an additional GitHub Actions workflow to post a comment on a PR that modifies files that are matched by the .lint-ignore file (see #65 for what this comment looks like).