From 75d91d59ddfff3521a38c2660322fd66e8378dc9 Mon Sep 17 00:00:00 2001 From: Patrick Linehan Date: Fri, 15 May 2026 18:15:21 -0700 Subject: [PATCH] update README install instructions to use uv Co-Authored-By: Claude Opus 4.7 --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0483684..44cc384 100644 --- a/README.md +++ b/README.md @@ -28,18 +28,17 @@ export PATH="$PATH:$(go env GOBIN):$(go env GOPATH)/bin" Install [pre-commit](https://pre-commit.com/) and enable the hooks: ```sh -brew install pre-commit # or: pip install pre-commit -pre-commit install +uv add --dev pre-commit +uv run pre-commit install ``` -This runs `gofmt`, `go vet`, and `go build` on every commit. - ## Commands - `flow branch [name]` — create and check out a new branch (`/` or a random slug) - `flow create [-v]` — push the current branch and open a PR (`-v` opens it in the browser) - `flow view` — open the current branch's PR in the browser -- `flow merge` — auto-squash-merge the current branch's PR, then return to the default branch +- `flow merge` — auto-squash-merge the current branch's PR, then return to the default (e.g. `main`) + branch - `flow rebase` — rebase the current branch onto the latest default branch - `flow push` — force-push the current branch (refused on the default branch) - `flow clean` — delete local branches whose PRs have been merged