Conversation
There was a problem hiding this comment.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on December 19
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| commands: | ||
| black: | ||
| glob: "*.py" | ||
| run: black . |
There was a problem hiding this comment.
Bug: Black formats entire directory instead of staged files
The run: black . command formats all Python files in the repository, not just staged files. The original pre-commit configuration only formatted staged Python files. In lefthook, the glob option filters which files trigger the hook, but run: black . still operates on the entire directory. To replicate the original behavior, the command needs to use {staged_files} placeholder like run: black {staged_files} to only format staged files.
Note
Introduces a Nix flake dev shell and lefthook-based Git hooks, removes pre-commit config, and updates .envrc and .gitignore.
flake.nixandflake.lockproviding a dev shell withlefthook,terraform, andgo-task.lefthook.yml(remote config +blackpre-commit); remove.pre-commit-config.yaml..envrctouse flakeand runlefthook install..gitignoreto ignore.direnv/anddoctester.py.Written by Cursor Bugbot for commit 54b108e. This will update automatically on new commits. Configure here.