fix: exclude docs/plans/* from PR size check
CI / validate (pull_request) Successful in 1m4s
CI / auto-merge (pull_request) Successful in 16s

Planning docs are legitimately large (700+ lines) but should not fail
the PR size gate. Add docs/plans/* to DEFAULT_EXCLUDED_PATTERNS.

Implements: DEVX-166

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
emil
2026-08-26 20:07:26 +02:00
co-authored by Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent 40e95bc96f
commit 025db98264
3 changed files with 34 additions and 0 deletions
+6
View File
@@ -26,6 +26,12 @@ class TestIsExcluded:
def test_excludes_readme(self) -> None:
assert is_excluded("README.md", ["README.md"])
def test_excludes_plans_glob(self) -> None:
assert is_excluded("docs/plans/sso-bridge-full-extraction.md", ["docs/plans/*"])
def test_does_not_exclude_specs(self) -> None:
assert not is_excluded("docs/specs/DEVX-165.md", ["docs/plans/*"])
class TestCheckSize:
def test_under_limits_passes(self) -> None: