ruff: enable RUF ruleset

This commit is contained in:
Dima Gerasimov 2024-08-28 00:00:54 +01:00 committed by karlicoss
parent 664c40e3e8
commit b594377a59
15 changed files with 31 additions and 27 deletions

View file

@ -392,7 +392,7 @@ def module_install(*, user: bool, module: Sequence[str], parallel: bool=False, b
# I think it only helps for pypi artifacts (not git!),
# and only if they weren't cached
for r in requirements:
cmds.append(pre_cmd + [r])
cmds.append([*pre_cmd, r])
else:
if parallel:
warning('parallel install is not supported on this platform, installing sequentially...')