-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmise.toml
More file actions
40 lines (39 loc) · 1.96 KB
/
Copy pathmise.toml
File metadata and controls
40 lines (39 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tools]
node = "25.9.0"
# rumdl (https://github.com/rvben/rumdl) is the project's Markdown
# linter / formatter. Pinned to a specific 0.2.x release so
# contributors and CI converge on identical rule output. Keep this
# version in lockstep with the `RUMDL_VERSION` / `RUMDL_SHA256`
# pair in `.github/workflows/ci.yml` (the CI lint job fetches the
# upstream release tarball directly rather than going through mise).
rumdl = "0.2.2"
# Python is required for the `big-code-analysis-py` crate
# (PyO3 + maturin). Pinned to a 3.12 series — bindings declare
# `requires-python = ">=3.12"` in `big-code-analysis-py/pyproject.toml`.
python = "3.12"
# Python tooling for the big-code-analysis-py bindings (#270). These
# install into mise's pipx-managed environment under
# ~/.local/share/mise/installs/pipx-*/. `mise install` from a fresh
# checkout therefore provisions the full Python lint / type-check /
# test stack alongside the Rust toolchain. CI does NOT consume these
# (each job pip-installs its own copy) — they exist so contributors
# who run `mise install` get a working local gate.
#
# Ordering note: mise resolves the `python` tool *before* any pipx:
# entries, because pipx itself needs a Python interpreter on PATH.
# Listing python = "3.12" above is therefore load-bearing — do not
# reorder.
#
# Deliberately unpinned, including ruff, whose version this repository
# otherwise holds in lockstep across four files (#1230). mise's pipx
# backend takes a single exact version, not a PEP 440 range, so pinning
# here would add a fifth exact copy to bump on every ruff release —
# reproducing the drift the lockstep gate exists to stop, in a file no
# gate reads. Instead `make py-fmt` / `py-lint` prefer
# `big-code-analysis-py/.venv/bin/ruff`, so a contributor who has run
# `make py-bootstrap` never reaches these; these are the fallback for
# one who has not, and CI is the backstop there.
"pipx:ruff" = "latest"
"pipx:mypy" = "latest"
"pipx:pyright" = "latest"
"pipx:maturin" = "latest"