MoonshotAI / MoonshotAI/MoonEP

Add CI for linting and type checking

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.1k
Forks
134
PR merge metrics
No merged PRs in 30d

Description

Problem

The project has no CI configuration. While GPU-dependent tests can't run on GitHub Actions free runners, several quality checks can:

  • ruff check — Python linting
  • mypy — type checking (even partial)
  • clang-format --dry-run — C++ style checking

Suggested minimal CI

# .github/workflows/lint.yml
name: Lint
on: [push, pull_request]
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: astral-sh/ruff-action@v1
      - uses: actions/setup-python@v5
        with: { python-version: "3.12" }
      - run: pip install mypy && mypy moonep/ --ignore-missing-imports

Impact

Quality gate. Catches obvious issues (syntax errors, unused imports, type mismatches) before they reach human review.

Contributor guide

No contributing guide indexed for this repository

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 by reviewing the suggested .github/workflows/lint.yml configuration and the existing Python and C++ project layout. Run ruff check, mypy moonep/ --ignore-missing-imports, and clang-format --dry-run locally to understand the checks. Done means the workflow runs on pushes and pull requests and reports these quality checks successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.