diff --git a/.clang-tidy b/.clang-tidy index 9cd2f45..bc061f9 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -24,7 +24,7 @@ Checks: >- misc-*, -misc-non-private-member-variables-in-classes, -misc-unused-alias-decls, - -misc-include-cleaner, +# -misc-include-cleaner, modernize-*, -modernize-avoid-c-arrays, -modernize-concat-nested-namespaces, diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 1f965f9..0e670de 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -21,6 +21,4 @@ jobs: - run: sudo apt-get install -yq clang-tidy libpq-dev - - run: find include/ -name '*.hpp' | xargs -I '{}' clang-tidy --quiet '{}' -- --std=c++20 -Iinclude -I$(pg_config --includedir) - - - run: find src/ -name '*.cpp' | xargs -I '{}' clang-tidy --quiet '{}' -- --std=c++20 -Iinclude -I$(pg_config --includedir) + - run: find include/ src/ -name '*.?pp' | xargs -I '{}' clang-tidy --quiet '{}' -- --std=c++20 -Iinclude -I$(pg_config --includedir)