ajenti / ajenti

Consider using f-strings PYL-C0209
Performance
Minor
6 months ago6 months old
Formatting a regular string which could be a f-string
 58
 59        if aj.debug:
 60            s += colored(
 61                ('%15s:%-4s  ' % (record.filename[-15:], record.lineno)), 62                'magenta',
 63                attrs=['bold']
 64            )
Formatting a regular string which could be a f-string
 54            padding = '  '
 55        s += colored('[', 'white')
 56        s += process_tag
 57        s += colored(' %5i]  ' % params['pid'], 'white') 58
 59        if aj.debug:
 60            s += colored(