-
Notifications
You must be signed in to change notification settings - Fork 2
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 support #3
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
@ecalifornica : Seems like something that you'd be interested in |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Do we want to add this to the Makefile/PR checks? |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
This issue was closed by stalebot. It has been reopened to give more time for community review. See biocommons coding guidelines for stale issue and pull request policies. This resurrection is expected to be a onos.environ["GITHUB_TOKEN"]e-time event. |
Would like to bump this for consideration (@reece, @korikuzma, others). We're now using Ruff in virtually all of our projects as the single source of linting and formatting, and I think we're pretty happy with it -- it's fast, easy to use, centrally configurable, and offers a wide array of available rules. I'm confident that it could replace most of the linting checks currently listed in pyproject.toml/.flake8 in this repo (I don't believe Ruff has complete coverage of every Pylint rule, but it's got a whole lot of them). So, my proposal would be to go a bit further than #36 and either trim or remove entirely the other included linters/formatters. |
@jsstevenson I like using ruff and would be fine only using it as our sole linter/formatter. |
One other observation: the biocommons.org dev guide says that code style is enforced with |
@biocommons/maintainers have decided on dropping isort, pylint, and black in favor of ruff |
See https://beta.ruff.rs/docs/configuration/
Decision at 2024-05-20 maintainers' meeting:
The text was updated successfully, but these errors were encountered: