ruff: enable RUF ruleset

This commit is contained in:
Dima Gerasimov 2024-08-28 00:00:54 +01:00
parent dc0726c347
commit c3da26abcb
15 changed files with 31 additions and 27 deletions

View file

@ -81,7 +81,7 @@ def entries() -> Iterable[Entry]:
cmds = [base] # rely on default
else:
# otherwise, 'merge' them
cmds = [base + ['--logfile', f] for f in inps]
cmds = [[*base, '--logfile', f] for f in inps]
import ijson.backends.yajl2_cffi as ijson # type: ignore
from subprocess import Popen, PIPE