Open InvincibleRMC opened 4 months ago
While ruff
is interesting, as you mentioned there isn't a Python API that makes it readily available to be used.
When discussing in the weekly maintenance triage, it was also pointed out that flake8
also likely covers most of what we need from pep257.
In the short term, a pull request adding a deprecation warning for ament_pep257
(option 3) would be acceptable. Thanks for bringing this up.
It currently still works but has been deprecated in favor of ruff. However as of https://github.com/astral-sh/ruff/issues/659 there is not currently a Python api that could be used to replace it. And even if it did work ruff is not available via package managers yet.
Some possible solutions are the following: