Skip to content

add husky for pre-commit linting & GH workflows#2

Merged
Jared-Krajewski merged 4 commits intodevelopmentfrom
add-gh-workflows-and-precommit-linting
Sep 8, 2025
Merged

add husky for pre-commit linting & GH workflows#2
Jared-Krajewski merged 4 commits intodevelopmentfrom
add-gh-workflows-and-precommit-linting

Conversation

@Jared-Krajewski
Copy link
Owner

adds husky for pre-commit linting & GH workflows

@Jared-Krajewski Jared-Krajewski self-assigned this Sep 8, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Copilot AI Sep 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copilot uses AI. Check for mistakes.
- Add GitHub Actions workflows for build checks and linting
- Add comprehensive Makefile commands for development workflow
- Add developer setup documentation and linting infrastructure
@Jared-Krajewski Jared-Krajewski force-pushed the add-gh-workflows-and-precommit-linting branch from dbfd295 to 844ef0c Compare September 8, 2025 21:58
@Jared-Krajewski Jared-Krajewski merged commit c6dfae5 into development Sep 8, 2025
3 checks passed
@Jared-Krajewski Jared-Krajewski deleted the add-gh-workflows-and-precommit-linting branch September 8, 2025 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants