Closed peterjc closed 5 years ago
Sorry, I haven't done a search for an automatic formatter with this setup =/ Maybe try looking for dependent packages or asking on a forum (e.g. Reddit)?
Thanks. Happily unify
as it seems to work nicely (I used it successfully yesterday on a very large and diverse code base).
I would recommend adding a link to unify
in the flake8-quotes
main README - the flip side of linting tools is fixer tools.
Too bad that autopep8 won't automatically fix quotes according to setup.cfg.
unify seems to be working for me as a fixer for quotes.
Are you aware of any tools to reformat Python files to use a preferred quote style? Something like
black
orautopep8
orYAPF
but able to fix just this one issue?The only thing I have found so far is
unify
, which seems worth using in conjunction with your flake8 plugin:https://github.com/myint/unify