diff --git a/docs/changelog.rst b/docs/changelog.rst index d7b9c81bc..e130fc803 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1073,7 +1073,7 @@ Features - While running tox invokes various commands (such as building the package, pip installing dependencies and so on), these were printed in case they failed as Python arrays. Changed the representation to a shell command, allowing the users to quickly replicate/debug the failure on their own - by :user:`gaborbernat` (`#851 `_) - skip missing interpreters value from the config file can now be overridden via the ``--skip-missing-interpreters`` cli flag - by :user:`gaborbernat` (`#903 `_) - keep additional environments config order when listing them - by :user:`gaborbernat` (`#921 `_) -- allow injecting config value inside the ini file dependent of the fact that we're connected to an interactive shell or not - by :user:`gaborbernat` (`#947 `_) +- allow injecting config value inside the ini file dependent of the fact that we're connected to an interactive shell or not via exposing a ``{tty}`` substitution - by :user:`gaborbernat` (`#947 `_) - do not build sdist if skip install is specified for the envs to be run - by :user:`gaborbernat` (`#974 `_) - when verbosity level increases above two start passing through verbosity flags to pip - by :user:`gaborbernat` (`#982 `_) - when discovering the interpreter to use check if the tox host Python matches and use that if so - by :user:`gaborbernat` (`#994 `_) diff --git a/docs/config.rst b/docs/config.rst index 34aad3556..e99c702e6 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -789,6 +789,8 @@ the above example is roughly equivalent to Interactive shell substitution ++++++++++++++++++++++++++++++ +.. versionadded:: 3.4.0 + It's possible to inject a config value only when tox is running in interactive shell (standard input):: {tty:ON_VALUE:OFF_VALUE}