justinmclean opened a new pull request, #237:
URL: https://github.com/apache/airflow-steward/pull/237
37 new tests across 7 classes filling the remaining coverage gaps in
`test_validator.py`.
## Changes
`tests/test_validator.py` — new test cases covering:
- `is_placeholder_url` — angle-bracket tokens, ellipsis, real URLs, empty
- `line_has_inline_allow_marker` — known markers, plain lines, empty
- `is_path_allowlisted` — README/AGENTS, projects/_template, .github/; skill
files and arbitrary docs are not allowlisted
- `collect_files_to_check` — md files returned, missing dir → `[]`, non-md
excluded, recurses into subdirs
- `collect_skill_dirs` — immediate child dirs returned, missing dir → `{}`,
files excluded, paths are absolute
- `collect_doc_files` — docs/ and projects/_template/ both scanned, missing
dirs → `{}`, non-md excluded, paths are absolute
- `main` — returns 0 on valid skills, 1 on hard violations with message,
`--skip-categories` filters violations, `--strict` promotes soft to hard
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]