Conversation
- Remove custom git hooks and related scripts. - Create `.pre-commit-config.yaml` with standard hooks and `black`. - Update `Makefile` to use `prek` for checking and installing hooks. - Replace `linter_require_black.yaml` workflow with `prek.yaml`. - Update `README.md` with instructions for `prek`. - Ensure `git config core.hooksPath` is unset during hook installation. Co-authored-by: Miyamura80 <38335479+Miyamura80@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR replaces the existing custom git hooks and GitHub Actions for linting with
prek, a faster Rust-based pre-commit runner.Changes include:
.pre-commit-config.yamlwithpre-commit-hooksandblack..github/workflows/linter_require_black.yamlwith.github/workflows/prek.yamlusingj178/prek-action.Makefileto manageprekinstallation and execution (make lint,make install_hooks).README.mdto reflect the new requirements and commands..githooksdirectory and ensuredcore.hooksPathis unset to restore standard git hook behavior.PR created automatically by Jules for task 11940744287493932902 started by @Miyamura80