Skip to content

Commit

Permalink
document substituions additional content start with space
Browse files Browse the repository at this point in the history
document substitutions with additional content starting with a space
cannot be alone on a line inside the ini file
  • Loading branch information
gaborbernat committed Oct 13, 2018
1 parent efc0878 commit 43b33cf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/changelog/1051.bugfix.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Do the same transformation to egg_info dirs that pkg_resources does. This makes
it possible for hyphenated names to use the develop-inst-noop optimization (cf.
#910), which previously only worked with non-hyphenated egg names - by
:user:`hashbrowncipher`.
Do the same transformation to egg_info dirs that pkg_resources does.
This makes it possible for hyphenated names to use the develop-inst-noop optimization (cf. 910), which previously only worked with non-hyphenated egg names - by
:user:`hashbrowncipher`
1 change: 1 addition & 0 deletions docs/changelog/437.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
document substitutions with additional content starting with a space cannot be alone on a line inside the ini file - by :user:`gaborbernat`
8 changes: 8 additions & 0 deletions docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,14 @@ You can escape curly braces with the ``\`` character if you need them, for examp

commands = echo "\{posargs\}" = {posargs}


Note some substitutions (e.g. ``posargs``, ``env``) may have addition values attached to it,
via the ``:`` character (e.g. ``posargs`` - default value, ``env`` - key).
Such substitutions cannot have a space after the ``:`` character
(e.g. ``{posargs: magic}`` while being at the start of a line
inside the ini configuration (this would be parsed as factorial ``{posargs``,
having value magic).

Globally available substitutions
++++++++++++++++++++++++++++++++

Expand Down

0 comments on commit 43b33cf

Please sign in to comment.