|
|
|
|
|
by frumiousirc
2 days ago
|
|
> I really wish Ruff would introduce something similar to Nix’s stateVersion Two approaches: You can pin the version of `ruff` in `pyproject.toml`. You, to let ruff command version advance but pin the settings to a prior version: uvx ruff@0.15.22 check --isolated --show-settings | flat2toml > pinned.toml
The `flat2toml` script is left as an exercise. Then in `ruff.toml`: extend = "pinned.toml"
|
|