Skip to content

Switch linting from ufmt+usort+flake8+black to Ruff - #9

Open
lizard-boy wants to merge 4 commits into
mainfrom
ruff
Open

Switch linting from ufmt+usort+flake8+black to Ruff#9
lizard-boy wants to merge 4 commits into
mainfrom
ruff

Conversation

@lizard-boy

Copy link
Copy Markdown

Summary

This PR switches the lint/format stack from ufmt+usort+flake8+black to Ruff.

I converted the Flake8 configuration with flake8-to-ruff, and adjusted it slightly to make reformatting and import sorting do as little as possible.

🤔 Hmm?

Looks like the codegen'd files have DOS file endings, so I had to unix2dos them after re-generating.

Test Plan

  1. See what CI says.
  2. See what LibCST maintainers say.

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.

2 participants