To ensure consistent code style and quality, this project uses a pre-commit hook to automatically format code. Please follow these steps once to set it up:
-
Install pipx (if you don't have it):
On Linux:
sudo apt update sudo apt install pipx
On Mac:
brew install pipx
Homebrew install instructions: https://brew.sh
-
Add pipx to your PATH:
pipx ensurepath # You may need to restart your shell after this. -
Install pre-commit using pipx:
pipx install pre-commit
-
Install the Git hooks for this repository:
pre-commit install
After this one-time setup, the formatting script will run automatically before each commit.
MODULE.bazel.lock pins resolved external dependencies and extension evaluations to ensure reproducible, hermetic builds across platforms and CI environments without re-resolving against external registries. When modifying dependencies in MODULE.bazel, update the lockfile and verify builds across Linux, macOS, and Windows.
For information on how to use and verify the TAP networking feature, see TAP-README.md.