Upgrade Python syntax with pyupgrade

This commit is contained in:
Hugo
2019-12-02 17:57:38 +02:00
parent cf59eb07b9
commit 157871c026
5 changed files with 22 additions and 18 deletions

View File

@@ -136,7 +136,7 @@ def repr_pytest_looponfailinfo(failreports, rootdirs):
tr.line(report, red=True)
tr.sep("#", "waiting for changes", bold=True)
for rootdir in rootdirs:
tr.line("### Watching: %s" % (rootdir,), bold=True)
tr.line("### Watching: {}".format(rootdir), bold=True)
def init_worker_session(channel, args, option_dict):