From 5fd66ef6b6276675deb7e6be2d7e4483d2824048 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 16 Jun 2025 15:25:33 +0200 Subject: lint: add strict_deps Add a test verifying that no header files are picked up from an indirect dependency. --- lint/TARGETS | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lint/TARGETS') diff --git a/lint/TARGETS b/lint/TARGETS index 5e260c79..b3963739 100644 --- a/lint/TARGETS +++ b/lint/TARGETS @@ -5,6 +5,7 @@ [ ["LINT: clang-tidy", "clang-tidy"] , ["LINT: clang-format", "clang-format"] , ["LINT: iwyu", "iwyu"] + , ["LINT: strict_deps", "strict_deps"] ] } , "clang toolchain": @@ -79,4 +80,16 @@ , ["@", "tests", "", "ALL"] ] } +, "LINT: strict_deps": + { "type": ["@", "rules", "lint", "targets"] + , "tainted": ["test"] + , "name": ["strict deps"] + , "linter": ["run_strict_deps.py"] + , "summarizer": ["summary.py"] + , "targets": + [ ["@", "src", "src/buildtool/main", "just"] + , ["@", "src", "src/other_tools/just_mr", "just-mr"] + , ["@", "tests", "", "ALL"] + ] + } } -- cgit v1.2.3