Use f-strings instead of `str.format` as faster and easier to read (#311)

Since python 3.6 we are able to use it.
Use attributes in `repr` directly instead of chained construction
 -> remove unused private helper

no-changelog

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
6 files changed