Skip to content

max_directory_depth

Tree depth from repo root may not exceed max. A shallow depth stops deeply-nested imports and keeps CI path globs sane.

- id: shallow-tree
kind: max_directory_depth
paths: "**"
max: 6
level: warning