Skip to content

Commit 0806066

Browse files
committed
astrein: Exclude tests
CMK-33203 Change-Id: Id3cc54613bb98a0938c1f41461880c677d7a697f
1 parent 5340370 commit 0806066

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cmk-astrein/cmk/astrein/checker_module_layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def _shall_exclude_file_below_packages(relative_path: ModulePath) -> bool:
146146
rules in the cmk namespace. Dependencies of the package's tests are managed through
147147
bazel dependencies. We feel no need to enforce cmk module layer rules there.
148148
"""
149-
base_paths = ["packages", "non-free/packages"]
149+
base_paths = ["tests", "packages", "non-free/packages"]
150150
for base_path in base_paths:
151151
if relative_path.is_below(base_path):
152152
relative_to_pkg = ModulePath(*relative_path.relative_to(base_path).parts[1:])

0 commit comments

Comments
 (0)