3 ms·
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 othe
by charliermarsh 4y ago
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.
- zzzeek 4y agoI 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.