Cover frame for Quality Gates for Automation PRs

Python Basics

Quality Gates for Automation PRs

Introduce linting, typing hints, and lightweight CI checks tailored to short scripts.

15 hours · self-paced Self-paced BRL 450 · informational

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.

Avatar for Soraia Lins

Soraia Lins

Primary reviewer for this program track.

Participant questions

Examples use GitHub Actions; concepts map to other CI systems with mentor guidance.

Recent peer notes

Quality Gates track made our tiny repo feel serious without bloating it.

André · Ops analyst

CODEOWNERS snippet sparked a real conversation with IT — rare win from an online lab.

Juliana · Logistics partner desk