News for hackers. Stuff that matters.
Re:Even the Pylint codebase uses Ruff by charliermarsh on Sunday March 05, 2023 @10:00PM (#35037045)
Yeah we don't support arbitrary Flake8 plugins. We do plan to support plugins eventually but the exact architecture and API are TBD.

If there are plugins that would be particularly impactful for you, I'd be happy to take a look at adding them. (We support some of the plugins you use in SQLAlchemy, like flake8-docstrings and flake8-builtins, but not flake8-rst-docstrings which I'm guessing is a blocker.)

Re:Even the Pylint codebase uses Ruff by zzzeek on Sunday March 05, 2023 @10:18PM (#35037148)
thanks for the reply! we use a bunch of goofy ones that nobody else does. one of them is like a 3 line plugin that has only a handful of stars on github.

      flake8-import-order
      flake8-builtins
      flake8-future-annotations
      flake8-docstrings
      flake8-rst-docstrings
      flake8-import-single
Re:Even the Pylint codebase uses Ruff by charliermarsh on Sunday March 05, 2023 @10:31PM (#35037235)
Oh heh yeah I saw flake8-import-single :)

That might be equivalent to using Ruff's isort implementation with `force_single_line` but maybe that comes with other implications that you don't want for SQLAlchemy.

Re:Even the Pylint codebase uses Ruff by zzzeek on Sunday March 05, 2023 @11:08PM (#35037431)
I really tried to use isort but it doesnt do the import order style that we use, and there were some other things that didnt work for us. flake8-import-order has selectable styles that I match in my own "zimports" tool that we use to actually write our imports. flake8-import-single then adds this extra idea that you shouldn't have "from tool import x, y, z", since that defeats the purpose import sorting which is to avoid merge artifacts.
Re:Even the Pylint codebase uses Ruff by clepto on Monday March 06, 2023 @01:07AM (#35037988)
Are smaller plugins like this potentially an easy place for first time contributors to work in?

My Rust skills are certainly very lacking but if there is some big list of arbitrary flake8 plugins that there is a desire to have ported, that sounds like it could be a relatively easy place to get one’s feet wet.