Closed snowsignal closed 3 days ago
ruff-ecosystem
results✅ ecosystem check detected no linter changes.
ℹ️ ecosystem check encountered linter errors. (no lint changes; 1 project error)
ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview
``` warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: - 'ignore' -> 'lint.ignore' - 'select' -> 'lint.select' - 'unfixable' -> 'lint.unfixable' - 'per-file-ignores' -> 'lint.per-file-ignores' warning: `PGH001` has been remapped to `S307`. warning: `PGH002` has been remapped to `G010`. warning: `PLR1701` has been remapped to `SIM101`. ruff failed Cause: Selection of deprecated rule `E999` is not allowed when preview is enabled. ```
@MichaReiser Thanks for the review! I'll look into addressing the points you brought up.
I would expect that running
ruff server --preview
would enable all preview features similar to settingpreview = true
in the settings.
We also have server settings, lint.preview
, and format.preview
, that control this behavior. We should make it clear that this would override those settings.
Summary
ruff server
has reached a point of stabilization, and--preview
is no longer required as a flag.--preview
is still supported as a flag, since future features may be need to gated behind it initially.Test Plan
A simple way to test this is to run
ruff server
from the command line. No error about a missing--preview
argument should be reported.