DataDog / riot

A Python virtual env builder and command runner
https://ddriot.readthedocs.io/
Apache License 2.0
23 stars 15 forks source link

Add skip_install to Venv #39

Open Kyle-Verhoog opened 3 years ago

Kyle-Verhoog commented 3 years ago

This signals riot to not build the local package. This is useful for commands like flake8, black, etc which don't need the package to be built

Kyle-Verhoog commented 3 years ago

🤔 maybe skip_install=True should be the default behaviour. Then we should instead offer install_local to opt into having the package be built.

Depends whether we foresee riot being used to run commands more often than define large test suites.

Kyle-Verhoog commented 3 years ago

oorrrrrr what if the local package is just specified in pkgs. Eg.

Venv(
  pkgs={
      ".": ""
  }
  # ...
)