Closed reece closed 1 month ago
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 black
, isort
, and pylint
. However, the template also checks with flake8
in GitHub Actions and via pre-commit, but doesn't perform pylint
checks in either case (although it is included as a dev dependency). It might be good to clean this up in one direction or another.
@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: