3.0.2 is mixing up the order of the reports
Using Flake8 3.0.2 and flake8-string-format
0.2.3 I got a strange result with one of my test data as it is mixing up the order of the reports. I verified and the plugin is yielding the errors from top to bottom, but Flake8 somehow doesn't output them in that order:
buffer.py:2:10: P101 format string does contain unindexed parameters
buffer.py:5:10: P101 format string does contain unindexed parameters
buffer.py:1:10: P103 other string does contain unindexed parameters
buffer.py:4:10: P103 other string does contain unindexed parameters
buffer.py:3:21: P101 format string does contain unindexed parameters
buffer.py:6:21: P101 format string does contain unindexed parameters
As you can see it jumps back several times. It doesn't seem to group the reports into error codes and it also doesn't seem to do a bunch of reports and then do the same line range but with the error code as there is that last batch which uses the same error code as the first but also overlaps (at least partially) with the first line range.
I was able to trim down the original file, which is available at xZise/flake8$23257, to the following:
buffer = "{}"
buffer = "{}".format(42)
buffer = str.format("{}", 42)
buffer = "{}After"
buffer = "{}After".format(42)
buffer = str.format("{}After", 42)
And to reproduce it that shouldn't take much more than to install the plugin and run it $ flake8 --jobs=1 --select=P buffer.py
.