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

Add ruff to the repo linters #113

Merged
merged 4 commits into from
Jan 24, 2023
Merged

Conversation

jacobtomlinson
Copy link
Member

@jacobtomlinson jacobtomlinson commented Jan 24, 2023

Folks seem to be excited about ruff as a fast replacement for flake8/isort/pyupgrade/etc.

Using it in the deployment docs for linting the example scripts and Sphinx extensions felt like a low-effort/low-risk place to try it out.

I've added it to the pre-commit config so it will get run on commit and in CI. You can optionally install it yourself with pip install ruff and run it on files with ruff path/to/file.py.

@jacobtomlinson jacobtomlinson changed the title Add ruff Add ruff to the repo linters Jan 24, 2023
@jacobtomlinson jacobtomlinson merged commit c45b215 into rapidsai:main Jan 24, 2023
@jacobtomlinson jacobtomlinson deleted the add-ruff branch January 24, 2023 16:28
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.

1 participant