Skip to content

Documentation: add --no-preview to --help #7486

@bersbersbers

Description

@bersbersbers

I like using ruff with preview rules, locally - so I have added preview = true to my pyproject.toml, and it seems to be picked up by VS Code, pre-commit, and manual command-line invocations of ruff. However, I think I would prefer new preview rules to break CI. I could pin the ruff version, but would like to avoid that ideally. Could the --preview command-line flag be made switchable, e.g., to allow ruff --preview=false on CI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions