it would just return the last line of each section.
This worked fine, since nothing else in the code was actually reading the contents, just the existence of a section.
IMO, we could:
Change it to return all changes, as I have done in #22
Change it to get_unreleased_change_types and just returned the change types, as I have done in #24
I have a preference for the latter, since the code gets simpler.
Aside: I noticed this while adding the typing information in #21
it would just return the last line of each section. This worked fine, since nothing else in the code was actually reading the contents, just the existence of a section.
IMO, we could:
get_unreleased_change_types
and just returned the change types, as I have done in #24I have a preference for the latter, since the code gets simpler.
Aside: I noticed this while adding the typing information in #21