Quality Gates track made our tiny repo feel serious without bloating it.
Python Basics
Quality Gates for Automation PRs
Introduce linting, typing hints, and lightweight CI checks tailored to short scripts.
Program narrative
Automation breaks when nobody reviews it. You will configure Ruff, mypy in pragmatic mode, and GitHub Actions stubs that fit small repos without enterprise overhead.
Inside the bundle
- Ruff baseline tuned for scripts under 300 lines
- mypy pragmas that avoid blocking pragmatic teams
- Action workflow that fails on missing docstrings for public functions
- CODEOWNERS snippet for automation folders
- Mentor review of a sample pull request
- Pre-commit hook setup with Windows notes
- Checklist for pairing QA with automation changes
Outcomes we expect you to evidence
- Enable CI on a sample repo with two meaningful checks
- Open a PR that passes gates with mentor approval
- Explain typing trade-offs to a teammate in writing
Mentor anchor
Curriculum editor translating reviewer feedback into teachable gates.
Soraia Lins
Primary reviewer for this program track.
Participant questions
Examples use GitHub Actions; concepts map to other CI systems with mentor guidance.
Not covered deeply; focus stays on single-repo script folders.
We do not configure self-hosted runners; hosted minutes only.
Recent peer notes
CODEOWNERS snippet sparked a real conversation with IT — rare win from an online lab.