Add conversion to f-strings using `flynt`
Fixes #266.
- [x] PoC implementation
- [ ] unit tests for:
- [x]
--helpcontent - [ ] actual f-string conversions
- [x]
- [ ] documentation in README
- [x] command line option in the
--helpcopy - [ ] description
- [ ] "New in" note
- [x] command line option in the
- [x] Merge #376
- [x] Merge #377
- [ ] change log
@jedie, the implementation is still in progress. I did two preparatery refactorings which will make it simpler to add new pre-processors (like flynt in addition to isort). Would you be willing to review them as well (#376 and #377)?
@jedie, there's now a proof-of-concept implementation in this branch. It sits on top of two refactorin branches, and there aren't yet any unit tests. Also, no Flynt configuration whatsoever is being taken into account – and I think that's ok for the initial version of flynt support.
Feel free to test it!
@jedie, this one is coming up in version 1.7.0. I've completed and cleaned up the branch, and marked this pull request as ready for review. Would you take a look?
There's quite a bit of clean-up and refactoring, and I tried to group things into separate commits for easier review.
@Carreau, FYI, merging this PR will make it easier to continue with pyupgrade support in #51. Would you be interested to review this one?