summaryrefslogtreecommitdiff
path: root/tests/config/loader/ini/replace
Commit message (Collapse)AuthorAgeFilesLines
* Windows shlex fix (#2895)Masen Furer2023-01-251-7/+7
|
* Fix regression with multiple env substitutions for the same key (#2873)Masen Furer2023-01-161-2/+38
| | | Fix https://github.com/tox-dev/tox/issues/2869
* Recursive replace (#2864)Masen Furer2023-01-152-1/+44
| | | | | | | | | | | | | | | | | | | | * test_replace_tox_env: add missing chain cases When a replacement references a replacement in a non-testenv section it should also be expanded * Recursive ini-value substitution Expand substitution expressions that result from a previous subsitution expression replacement value (up to 100 times). Fix #2863 * cr: changelog: fix trailing period * test_replace_tox_env: tests for MAX_REPLACE_DEPTH Create a long chain of substitution values and assert that they stop being processed after some time.
* Rewrite substitution parser (#2861)Masen Furer2023-01-153-18/+192
|
* Fix space not accepted in factor filter expression (#2744)Bernát Gábor2022-12-171-2/+2
| | | Resolves https://github.com/tox-dev/tox/issues/2718
* Allow replacing keys with - in INI config (#2581)Bernát Gábor2022-12-021-0/+6
| | | Resolves https://github.com/tox-dev/tox/issues/2569
* Better selection support (#2290)Bernát Gábor2022-01-041-2/+8
|
* Bump lintersBernát Gábor2021-12-111-1/+1
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Drop python 3.6 support (#2275)Bernát Gábor2021-11-178-5/+18
|
* Expose the configuration load mechanism to plugins (#2217)Bernát Gábor2021-09-151-3/+6
|
* Internal changes to support tox-gh-actions (#2191)Bernát Gábor2021-08-311-1/+2
|
* Fix env variable substitutions with defaults containing colon (#2186)comabrewer2021-08-271-0/+7
| | | | | | | | | | | | * Fix handling of substitution defaults containing colon * Join remaining parts of string instead of splitting on colon. * Add test with substitution default that contains a colon (URL). Fixes #2182 Signed-off-by: Marco Weber <marco.weber@hotmail.de> * Add changelog entry
* Add support for os path separator substitution in ini files (#2138)Bernát Gábor2021-08-051-0/+8
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* fix replacement of sections with dash (#2000)Oliver Bestwalter2021-04-061-0/+15
| | | | Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com> Co-authored-by: Miroslav Šedivý <eumiro@gmail.com>
* Start plugin interface documentation and installer (#1991)Bernát Gábor2021-04-051-1/+0
| | | | | | | | - Add documentation for the plugin interface - Introduce the installer abstraction - Rework how we handle tox deps section, requirement and constraint files - Support for escaping comments in tox.ini configs Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Fix unescaped } breaking expansions that follow it (#1961)Andrey Bienkowski2021-03-062-0/+33
| | | Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Support for bracket styled posargs (#1954)Andrey Bienkowski2021-03-041-11/+30
| | | Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix test_replace_pos_args_empty_sys_argv (#1936)Andrey Bienkowski2021-03-011-1/+1
| | | This test was identical to test_replace_pos_args_none_sys_argv. I assume this is not intentional
* Add more flake8 checks (#1899)Bernát Gábor2021-02-063-8/+7
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Support = as arg separator and dir in req files (#1867)Bernát Gábor2021-01-231-1/+1
|
* Colorize config and fix a circular config bug (#1821)Bernát Gábor2021-01-131-1/+7
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Better handling of set_env (#1784)Bernát Gábor2021-01-113-1/+18
|
* Add tty replacerBernát Gábor2021-01-081-0/+20
| | | | | | | This allows users to force isatty until we fix https://github.com/tox-dev/tox/issues/1773. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix provisioning supportBernát Gábor2020-11-271-1/+1
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: do not build state for config testsBernát Gábor2020-11-041-23/+16
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: full coverage for replace logicBernát Gábor2020-11-022-28/+63
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* replace: re-raise exception when load is not KeyErrorBernát Gábor2020-11-023-5/+33
| | | | | | Do not swallow internal errors. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: increasing coverage for the replacement logicBernát Gábor2020-11-013-0/+14
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* show_config: allow displaying config for some keys - handle unbalanced ↵Bernát Gábor2020-11-012-3/+17
| | | | | | replace curly braces in ini parser Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: clenup and add coverage for posargs replaceBernát Gábor2020-11-011-12/+27
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: add coverage for ini loaderBernát Gábor2020-11-011-20/+11
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: reorganize their location to match latest source layoutBernát Gábor2020-10-316-0/+176
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>