Skip to content

Ruff formatter missing character limit argument #8352

Closed
@ryan-cpi

Description

We are using the ruff pre-commits formatter however there doesn't seem to be a way to pass in an argument to set the line character limit without having a config file dedicated for this. Is it possible to add an argument for this -l 120?

repos:
-   repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.1.2
    hooks:
      - id: ruff-format

Metadata

Assignees

No one assigned

    Labels

    configurationRelated to settings and configurationformatterRelated to the formatter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions