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

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

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

Conversation

lizard-boy
Copy link

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