Skip to content

test(ruff): cover human-readable rule selectors#6113

Open
ColumbusLabs wants to merge 1 commit into
SchemaStore:masterfrom
ColumbusLabs:agent/ruff-human-readable-selectors
Open

test(ruff): cover human-readable rule selectors#6113
ColumbusLabs wants to merge 1 commit into
SchemaStore:masterfrom
ColumbusLabs:agent/ruff-human-readable-selectors

Conversation

@ColumbusLabs

Copy link
Copy Markdown
Contributor

Summary

  • add a Ruff TOML regression fixture for human-readable rule selectors
  • cover extend-select, ignore, and per-file ignores
  • document through the test that the current synced Ruff schema already accepts the reported selectors

The current ruff.json already contains these selector names from the Ruff schema sync in #5844, so this deliberately adds regression coverage rather than changing or loosening the schema.

Verification

  • node ./cli.js check --schema-name=ruff.json
  • npm run typecheck
  • npm run prettier
  • git diff --check

Closes #6082

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ruff - schema does not allow human-readable rule names

1 participant