python-trio / flake8-async

Highly opinionated linter for Trio code
https://flake8-async.readthedocs.io
MIT License
17 stars 2 forks source link

Standalone `flake8-async` could read config files like `flake8` #189

Open Zac-HD opened 1 year ago

Zac-HD commented 1 year ago

This is a nice convenience over specifying them on the command-line every time. Could be implemented as an --config= argument pointing to an ini file for easy implementation; any more than that and we should probably just hook flake8's config handling if we don't mind the runtime dep when standalone.

jakkdl commented 1 year ago

yeah I had it listed in #124, although given that most of that task list is the low prio "convert X to libcst and make it autofix" the general functionality ones probably deserve their own issues. If running it through pre-commit you do sort of have config support atm, but I'll look at various diff ways of configuring :+1: