10 lines
242 B
Text
10 lines
242 B
Text
|
from viv import Env, ViVenv
|
||
|
|
||
|
SPECS = (["black"], ["pre-commit"], ["pdm"])
|
||
|
for spec in SPECS:
|
||
|
vivenv = ViVenv(spec)
|
||
|
if not vivenv.loaded or Env().viv_force:
|
||
|
vivenv.create()
|
||
|
vivenv.install_pkgs()
|
||
|
vivenv.meta.write()
|