Skip to content

Conversation

@ajcasagrande
Copy link
Contributor

@ajcasagrande ajcasagrande commented Sep 21, 2025

This fixes the pre-commit hook added in #276 by ensuring the mkinit package is installed, and the venv is used for running mkinit

@github-actions github-actions bot added the fix label Sep 21, 2025
@codecov
Copy link

codecov bot commented Sep 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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 fixes the GitHub pre-commit job by addressing dependency issues and updating action versions. The changes ensure that the mkinit package is properly available during pre-commit execution and modernize the workflow configuration.

  • Updates GitHub Actions workflow to use newer action versions and Ubuntu latest
  • Adds virtual environment activation to the init file generation script
  • Refactors Makefile to separate virtual environment setup from mkinit installation

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/pre-commit.yml Updates action versions, adds Python setup, and installs mkinit dependency
tools/generate_init_files.sh Adds virtual environment activation to ensure mkinit is available
Makefile Separates setup tasks and adds mkinit installation target

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ajcasagrande ajcasagrande merged commit 3fa1334 into main Sep 22, 2025
6 checks passed
@ajcasagrande ajcasagrande deleted the ajc/fix-mkinit-script branch September 22, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants