Skip to content
Edit this page View source of this page

mise

mise installs and selects the command-line tools this repository uses. Use it to give contributors the same development tools in a local shell or inside the Dev Container.

Configuration in this template

  • mise.toml declares uv, Prek, Ruff, ty, rumdl, Tombi, Biome, Gitleaks, and ShellCheck. The ShellCheck declaration applies to Linux and macOS.
  • Version requests use latest, and the enabled lockfile records resolved versions and download information in mise.lock.
  • The Bash entry hook in scripts/enter_project.sh installs Commitizen when uv is available and cz is missing. It can install or replace the Prek Git hooks. The configuration also loads environment variables from a local, Git-ignored .env file.
  • The docs task previews the website. The sync task runs uv sync --upgrade, which can change the project's Python lockfile.

Work with the toolchain

Follow Set up your environment to review and trust the configuration, install its tools, and activate mise in your shell. Run these from the repository root to see which uv version is selected or run a command with mise's tools for one invocation.

mise current uv
mise exec -- uv --version

Customize a derived repository

Edit [tools] in mise.toml to add a tool or change its requested version, then run mise install. Review the changes to both mise.toml and mise.lock. Check Prek separately if the tool also runs in a hook, since hook revisions are declared in the hook configuration. mise configuration reference