-
Notifications
You must be signed in to change notification settings - Fork 286
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
style: migrate to ruff
#1564
Comments
Great idea, we already use |
I would like to contribute. |
@TakshPanchal sounds good, LMK if you need any help with the PR |
Currently,
So majorly I have to convert |
Yes, and let's stick with one single configuration file, so convert Ideally the changes lead to no style changes, i.e. running |
can I work on this issue? |
Sure, we only assign one issue at a time. So, I'll assign this issue for now. If you want to work on some other issue first, let me know. |
@Abhrajitdas02 would you like any help with this issue? |
@guarin I was working on this and noticed that we actually don't enforce Source: https://github.com/search?q=repo%3Alightly-ai%2Flightly%20pylint&type=code |
astral-sh/ruff has emerged as a competitor to the existing linters. It's considerably faster than the current linter
pylint
viz.Source: ruff repository
Switching to
ruff
would enable us to switch to a single tool, as it has drop-in parity withblack
,isort
and support forpylint
rules.Happy to open a PR if interested 😄
References:
The text was updated successfully, but these errors were encountered: