add husky for pre-commit linting & GH workflows#2
Merged
Jared-Krajewski merged 4 commits intodevelopmentfrom Sep 8, 2025
Merged
add husky for pre-commit linting & GH workflows#2Jared-Krajewski merged 4 commits intodevelopmentfrom
Jared-Krajewski merged 4 commits intodevelopmentfrom
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR sets up comprehensive code quality tooling and CI/CD automation by adding Husky for pre-commit linting hooks and GitHub Actions workflows.
- Adds Husky for automated pre-commit linting and formatting checks
- Introduces comprehensive GitHub Actions workflows for build verification and code quality
- Establishes consistent code formatting configurations for both frontend (Prettier) and backend (Black, isort, flake8, mypy)
Reviewed Changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Adds Husky dependency and prepare script for git hooks setup |
| frontend/.prettierrc | Configures Prettier formatting rules for TypeScript/JavaScript code |
| frontend/.prettierignore | Excludes build artifacts and environment files from Prettier formatting |
| backend/pyproject.toml | Defines Python code quality tool configurations (Black, isort, mypy, flake8) |
| README.md | Documents the new code quality tools and pre-commit workflow |
| .vscode/extensions.json | Recommends VS Code extensions for enhanced development experience |
| .husky/pre-commit | Implements pre-commit hook script for automated linting checks |
| .github/workflows/build-check.yml | Establishes CI/CD pipeline for automated build and quality verification |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Python 3.11 | ||
| uses: actions/setup-python@v4 |
There was a problem hiding this comment.
Using an older version of setup-python action. Consider updating to v5 for better performance and security improvements.
Suggested change
| uses: actions/setup-python@v4 | |
| uses: actions/setup-python@v5 |
- Add GitHub Actions workflows for build checks and linting - Add comprehensive Makefile commands for development workflow - Add developer setup documentation and linting infrastructure
dbfd295 to
844ef0c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
adds husky for pre-commit linting & GH workflows