[P1] Add ESLint, TypeScript check, Ruff, Black, MyPy to CI pipeline #94

Open
opened 2026-07-07 16:21:54 +12:00 by fastie81 · 0 comments
Owner

Problem

Current CI (.forgejo/workflows/ci.yml) only runs:

  • Backend: pytest with coverage
  • Frontend: TypeScript check, lint, build

Missing:

  • Frontend: ESLint already in package.json but not enforced in CI as separate step
  • Backend: No Ruff (lint), Black (format), MyPy (type check)

Expected Behavior

Add jobs/steps:

# Backend linting
- name: Lint with Ruff
  run: ruff check app/
- name: Format check with Black
  run: black --check app/
- name: Type check with MyPy
  run: mypy app/

# Frontend (already has scripts, just need CI steps)
- name: Lint
  run: cd frontend && npm run lint
- name: TypeScript check
  run: cd frontend && npx tsc -b --noEmit

Requirements

Add to requirements.txt:

  • ruff>=0.1.0
  • black>=23.0.0
  • mypy>=1.0.0
### Problem Current CI (`.forgejo/workflows/ci.yml`) only runs: - Backend: pytest with coverage - Frontend: TypeScript check, lint, build Missing: - **Frontend**: ESLint already in package.json but not enforced in CI as separate step - **Backend**: No Ruff (lint), Black (format), MyPy (type check) ### Expected Behavior Add jobs/steps: ```yaml # Backend linting - name: Lint with Ruff run: ruff check app/ - name: Format check with Black run: black --check app/ - name: Type check with MyPy run: mypy app/ # Frontend (already has scripts, just need CI steps) - name: Lint run: cd frontend && npm run lint - name: TypeScript check run: cd frontend && npx tsc -b --noEmit ``` ### Requirements Add to `requirements.txt`: - `ruff>=0.1.0` - `black>=23.0.0` - `mypy>=1.0.0`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fastie81/honbu-manager#94
No description provided.