Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Abstract
Fix for point 8. of Issue #81 aka changing from use of 'format' to f-strings.
Action Taken
Provided unit tests for 'format_result_rows' function and removed all the 'format(...)' uses on strings. Also added an assertion for 'index' and initialized the 'out' variable at the very beginning to ensure that all execution paths work properly.
Caveats
There are three things that bother me.
FAO
After consultation with @pm5k, I'd like to ask @zao and @angelic-knight to take a quick look at the second issue from the Caveats section above.