Skip to content
Sarj Repo Standards

script-test-directories

Block new code in script test directories.

Examples

Script test code belongs with its durable owner

Before — rejected · error
python/scripts/tests/test_release.py
After — preferred
python/release/tests/test_release.py

Enable this rule

Add the stable ID to enabled_rules in your tracked .repo-standards/repository.toml:

enabled_rules = ["repository/artifacts/script-test-directories"]

This selects only this rule. To retain the defaults, also include repository/artifacts/untyped-javascript and repository/artifacts/bespoke-iac-verifiers, along with any existing IDs. Omitted or empty selections use the defaults. Setup and staged checks