fossasia / open-event-server

Consider using f-strings PYL-C0209
Performance
Minor
1 occurrence in this check
Formatting a regular string which could be a f-string
26        if connection_record.info['pid'] != pid:
27            # substitute log.debug() or similar here as desired
28            warnings.warn(
29                "Parent process {orig} forked ({newproc}) with an open "30                "database connection, "
31                "which is being discarded and recreated.".format(
32                    newproc=pid, orig=connection_record.info['pid']