summaryrefslogtreecommitdiff
path: root/tests/config/cli
Commit message (Collapse)AuthorAgeFilesLines
* rename TOX_CONFIG_FILE to TOX_USER_CONFIG_FILE (#2896)Masen Furer2023-01-251-11/+11
| | | Fix https://github.com/tox-dev/tox/issues/2890
* Fix python hash seed not being set (#2739)Bernát Gábor2022-12-162-4/+7
| | | Resolves https://github.com/tox-dev/tox/issues/2645
* Fix legacy flags, deprecate them and remove --index-url (#2731)Bernát Gábor2022-12-151-2/+0
| | | Resolves https://github.com/tox-dev/tox/issues/2690
* Restore TOX_SKIP_ENV filtering (#2707)Marius Gedminas2022-12-142-0/+4
| | | | Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net> Fixes https://github.com/tox-dev/tox/issues/2698
* NO_COLOR follows no-color.org logic instead of tox boolean (#2727)Bernát Gábor2022-12-141-2/+2
| | | Co-authored-by: ptmcg <ptmcg@austin.rr.com>
* Do not log distlib.util or filelock (#2656)Bernát Gábor2022-12-081-6/+1
| | | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net> Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Better handling of build backend without editable support and add ↵Bernát Gábor2022-12-052-0/+4
| | | | | | --exit-and-dump-after flag (#2597) Resolves https://github.com/tox-dev/tox/issues/2567 Resolves https://github.com/tox-dev/tox/issues/2595
* Allow passing config directory without filename (#2550)Sorin Sbarnea2022-11-271-0/+31
| | | Fixes https://github.com/tox-dev/tox/issues/2340
* Disable coloring with TERM=dumb or NO_COLOR (#2541)Sorin Sbarnea2022-11-211-1/+10
| | | | | | | | | | | | | | | | | * Disable coloring with TERM=dumb or NO_COLOR Fixes: #1290 Related: https://no-color.org/ * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add changelog fragment * Fixed logic Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Do not perform interpolation for INI files (#2352)Bernát Gábor2022-02-101-0/+9
|
* Support -va as well as -av (#2351)Bernát Gábor2022-02-101-0/+6
|
* Fix double clean package and broken report (#2309)Bernát Gábor2022-01-101-0/+25
|
* Hint for unrecognized arguments to use -- (#2308)Bernát Gábor2022-01-091-1/+9
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Better selection support (#2290)Bernát Gábor2022-01-042-18/+26
|
* 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-175-15/+24
|
* Update setup changelogBernát Gábor2021-11-161-2/+6
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Support for --no-provision flag (#2224)Bernát Gábor2021-09-182-0/+4
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Expose the configuration load mechanism to plugins (#2217)Bernát Gábor2021-09-151-16/+8
|
* Add support for exec subcommand (#2142)Bernát Gábor2021-08-071-0/+3
| | | | | | | | | | | | | | | | | * Add support for exec subcommand Run arbitrary commands within your tox environment. Don't abuse it. Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com> * Update docs/changelog/1790.feature.rst Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com> * reindent Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com> Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
* Refactor: Simplify and clean up the code (#1997)Miroslav Šedivý2021-04-061-1/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Inline plugin definition support - tox_.py (#1963)Bernát Gábor2021-03-072-12/+22
|
* Add more flake8 checks (#1899)Bernát Gábor2021-02-062-8/+5
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Drop sdistsrc and support --installpkg (#1890)Bernát Gábor2021-02-012-12/+12
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add CLI documentation (#1852)Bernát Gábor2021-01-171-1/+1
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* rewrite (#1824)Bernát Gábor2021-01-162-1/+5
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Stable deps and eat-our-own dogfood4.0.0a2Bernát Gábor2021-01-082-0/+4
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add keyboard interrupt support for parallelBernát Gábor2021-01-031-0/+3
| | | | | | Part of this unify the sequential and parallel execution engines. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Allow changing the root folder and increase coverageBernát Gábor2021-01-012-0/+4
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* General rework of the parallel, execute and reportingBernát Gábor2020-12-242-18/+21
| | | | | | | | | | | | | | | | | | | | | - move environment marker always at start of output - use single char logging level representation - skip support for parallel runs - rework parallel run to collect output per env, and also collect logging lines, fix logging timestamps by materializing the log messages when they are emited (collect the resulting output, instead replaying the log records at a later stage) - support for the -c file to specify tox configuration file at custom path - fix PEP-517 implementation by implementing a new type hinted PEP-517 frontend/backend interface - add a executor for PEP-517 communication that starts up just one process and then reuses that one process for all subsequent messages, this also collects stdout/stderr for executed commands - introduce async executor for the commands (alongside the current sync) - add prefix to threads to ease of identification in debugging Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Implement parallel mode - without output redirectBernát Gábor2020-11-302-0/+3
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix provisioning supportBernát Gábor2020-11-272-0/+4
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* journal: add first stab at basic journal supportBernát Gábor2020-11-072-4/+4
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: add test for tox.ini not foundBernát Gábor2020-11-051-1/+1
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: add coverage for ini loaderBernát Gábor2020-11-011-1/+1
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: add missing coverage to CLI parser, fix no arguments passed in explicitlyBernát Gábor2020-10-311-0/+25
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: add missing coverage for cli ini, simplify testsBernát Gábor2020-10-311-97/+35
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add CLI compatibility with version 3, introduce memory sourceBernát Gábor2020-10-303-35/+163
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Rework configuration to allow generic overridesBernát Gábor2020-10-292-11/+11
| | | | | | | | Now any loader can be overwritten. Separate better source and loader concept. The source no longer provides the tox root, but is taken as construction argument. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix ini replace logic does not work for other config set referencesBernát Gábor2020-10-276-0/+346
- When we load a tox configuration set ensure we create the tox environment for it via a callback (default is noop), because this is what registers the list of valid/defined configuration options - When the replacer loads a value this might be of not string type, create a stringify method that transforms arbitrary types to string, and use this to stringify typed values inside the replacer, and also reuse this for the show configuration command - Remove the integration test folder, move these alongside the tests themselves and introduce an integration marker to mark them as such - Only run integration tests if the --run-integration is passed in, or if there's a single test inside the run suite - Expose this integration functionality via our pytest plugin Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>