diff options
author | Bernát Gábor <bgabor8@bloomberg.net> | 2022-01-10 11:14:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 11:14:53 +0000 |
commit | dae4fc1c7db3a93b5ed7b25572b416c70da5de76 (patch) | |
tree | ef75e00c0bb96d9f03169cc42385834dc9ec238d /src/tox/config | |
parent | 6607e2cf43c17141838c11f964474ae1225b641b (diff) | |
download | tox-git-dae4fc1c7db3a93b5ed7b25572b416c70da5de76.tar.gz |
Fix CLI documentation is missing and broken documentation references (#2311)
Diffstat (limited to 'src/tox/config')
-rw-r--r-- | src/tox/config/cli/parse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tox/config/cli/parse.py b/src/tox/config/cli/parse.py index c11cbba5..51e4c2de 100644 --- a/src/tox/config/cli/parse.py +++ b/src/tox/config/cli/parse.py @@ -3,6 +3,7 @@ This module pulls together this package: create and parse CLI arguments for tox. """ from __future__ import annotations +from pathlib import Path from typing import TYPE_CHECKING, Callable, NamedTuple, Sequence, cast from tox.config.source import Source, discover_source @@ -75,9 +76,8 @@ def _get_parser() -> ToxParser: def _get_parser_doc() -> ToxParser: # trigger register of tox env types (during normal run we call this later to handle plugins) from tox.plugin.manager import MANAGER # pragma: no cover - from tox.tox_env.register import REGISTER # pragma: no cover - REGISTER._register_tox_env_types(MANAGER) # pragma: no cover + MANAGER.load_plugins(Path.cwd()) return _get_parser() # pragma: no cover |