Closed mohkale closed 9 months ago
Also, in general, I find tracing through apheleia code a little hard (given I wrote a lot of it that's not good :sweat_smile:). We should refactoring it a little here and their. Maybe decoupling the formatter running from the patch application to support plugging it into a library for example.
The structure isn't great, I agree. Most of that is my fault and I agree things need to change. I've got some work in progress for making it more testable (https://github.com/radian-software/apheleia/pull/204), and other refactoring is needed, as well.
Opening to remind myself to prioritise this: