From 6ce668f49316e10291c23ffcfe578f7309932a85 Mon Sep 17 00:00:00 2001 From: Alex Kremer Date: Tue, 4 Aug 2026 14:52:29 +0100 Subject: [PATCH] chore: Add clang-tidy rules for lower_case namespaces (#3165) --- .clang-tidy | 2 ++ .github/workflows/clang-tidy.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index aa6a3c1db..4e5a13602 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -165,6 +165,8 @@ CheckOptions: readability-braces-around-statements.ShortStatementLines: 2 readability-identifier-naming.MacroDefinitionCase: UPPER_CASE + readability-identifier-naming.NamespaceCase: lower_case + readability-identifier-naming.InlineNamespaceCase: lower_case readability-identifier-naming.ClassCase: CamelCase readability-identifier-naming.StructCase: CamelCase readability-identifier-naming.UnionCase: CamelCase diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 2ec1644dd..809ebdcd0 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -17,7 +17,7 @@ on: - "tests/**" - "benchmarks/**" - - .clang_tidy + - .clang-tidy concurrency: # Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags