PAIR-code / PAIR-code/deliberate-lab

CI: GitHub Action to validate typed Python on pull requests

Open Beginner friendly
#987 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale starter bug
Dominant language
TypeScript
Stars
96
Forks
40
Avg merge
2d 11h
Merged PRs (30d)
20

Description

Currently, we have a GitHub Action (ci.yaml) which checks formatting and runs tests for every incoming pull request.

The scripts/ subdirectory contains typed Python command line client for Deliberate Lab. We should enhance the pull request GitHub Action to assert that the Python files' types are correct in addition to other checks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .github/workflows/ci.yaml and inspect the typed Python command-line client under scripts/. Extend the pull-request workflow with a type validation check alongside formatting and tests; it is done when correctly typed Python passes and type errors cause the action to fail.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.