Navigation Menu

Skip to content

Commit

Permalink
Fix commands_pre/commands_post documentation.
Browse files Browse the repository at this point in the history
Mention the minimum version required.
  • Loading branch information
benoit-pierre committed Oct 24, 2018
1 parent b7b1615 commit dc5103f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Expand Up @@ -9,6 +9,7 @@ Anthony Sottile
Asmund Grammeltwedt
Barry Warsaw
Bartolome Sanchez Salado
Benoit Pierre
Bernat Gabor
Bruno Oliveira
Carl Meyer
Expand Down
1 change: 1 addition & 0 deletions docs/changelog/1071.doc.rst
@@ -0,0 +1 @@
Mention the minimum version required for ``commands_pre``/``commands_post`` support.
4 changes: 4 additions & 0 deletions docs/config.rst
Expand Up @@ -228,11 +228,15 @@ Complete list of settings that you can put into ``testenv*`` sections:

.. conf:: commands_pre ^ ARGVLIST

.. versionadded:: 3.4

Commands to run before running the :conf:`commands`.
All evaluation and configuration logic applies from :conf:`commands`.

.. conf:: commands_post ^ ARGVLIST

.. versionadded:: 3.4

Commands to run after running the :conf:`commands`. Execute regardless of the outcome of
both :conf:`commands` and :conf:`commands_pre`.
All evaluation and configuration logic applies from :conf:`commands`.
Expand Down

0 comments on commit dc5103f

Please sign in to comment.