Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting pylsp.plugins.ruff.format to ["ALL"] #101

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 24, 2024

  1. Don't ignore the "ALL" rule if it is in format

    In this case, the ignore will take precedence and setting
    `pylsp.plugins.ruff.format` to `["ALL"]` will do nothing.
    willjow committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    55a170c View commit details
    Browse the repository at this point in the history
  2. Add a test case to test_ruff_format.py

    Update existing test text to be compatible with the case that a format
    is run with `format` set to `["ALL"]`.
    willjow committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    fb54915 View commit details
    Browse the repository at this point in the history