Closed MichaelAquilina closed 3 weeks ago
please discuss features before wasting time on implementing them
I don't want to carry this complexity but thanks for taking the time to write it!
please discuss features before wasting time on implementing them
in this case we implemented it before and are using the forked implementation so no waste :)
we thought it was worth starting that conversation with the implementation in use as a starting point
in terms of complexity - I didnt make too much of an effort to clean up the initial implementation in case there was some strong suggestions which need big changes anyway. But I do agree the code could be cleaned up overall
I think we're ok keeping the fork if this is not needed/wanted 👍🏼
Opening for discussion and tweaking. This is possibly also a feature we may want to put behind a flag in some way.
requirements-fixer
has been very useful as a pre-commit hook but we have often found that it doesnt respect "sections" or requirements files that have been purposefully split from each other by new lines.For example we might have something like
in this case we would want each of the sections to be sorted individually.
This PR adds this functionality to sort sections independently