Improve CI Pipelines: Linting, Formatting, Pre-commits, and Testing
@sahilds1 is already working on this.
Since Jul 8, 2026.
Assessment
This issue has not been assessed yet.
Description
The current CI workflows in .github/workflows/frontend-ci.yml and .github/workflows/python-app.yml are missing several critical quality checks.
Proposed Improvements:
1. Frontend (frontend-ci.yml)
- Strict Checks: Remove
continue-on-error: truefromLintandBuildsteps so that PRs cannot be merged with failures. - Formatting: Add a step to verify formatting using Prettier (e.g.,
npx prettier --check .). - Testing: Add a step to run tests if any exist (e.g.,
npm test). - Dependency Cache: Ensure Node.js cache is working correctly (already present but should be verified).
2. Python Backend (python-app.yml)
- Formatting: Add Ruff formatting check (
ruff format --check). - Testing: Add a step to run Django tests (
python manage.py test). - Branch Triggers: Update branch triggers to include
developor the main branch (currently points tolistOfMed). - Linting: Improve Ruff linting configuration or ensure it's running with the desired rules.
3. General Enhancements
- Pre-commit Hooks: Integrate
pre-commitinto CI to ensure all hooks pass before merging. - Consistency: Align branch triggers across all CI workflows.
Why is this needed?
To ensure code quality, consistency, and prevent regressions from being merged into the main branches.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeForPhilly/balancer-main
-
Bug
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
CodeForPhilly/balancer-main#509 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
CodeForPhilly/balancer-main#503 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CodeForPhilly/balancer-main#502 · 1 comment ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
CodeForPhilly/balancer-main#488 ·
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
CodeForPhilly/balancer-main#478 ·
All issues in CodeForPhilly/balancer-main
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mksglu/context-mode#1200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
AOSSIE-Org/DebateAI#582 · 2 comments ·