mirror of
https://github.com/enpaul/tox-poetry-installer.git
synced 2025-01-14 08:33:31 +00:00
remove unneeded tox_add_core_config hook
This commit is contained in:
parent
3f99f3476c
commit
2b8936267e
@ -1,5 +1,4 @@
|
||||
# pylint: disable=missing-docstring
|
||||
from tox_poetry_installer.hooks import tox_add_core_config
|
||||
from tox_poetry_installer.hooks import tox_add_env_config
|
||||
from tox_poetry_installer.hooks import tox_add_option
|
||||
from tox_poetry_installer.hooks import tox_on_install
|
||||
|
@ -8,7 +8,6 @@ from itertools import chain
|
||||
from typing import List
|
||||
|
||||
from tox.config.cli.parser import ToxParser
|
||||
from tox.config.sets import ConfigSet
|
||||
from tox.config.sets import EnvConfigSet
|
||||
from tox.plugin import impl
|
||||
from tox.tox_env.api import ToxEnv as ToxVirtualEnv
|
||||
@ -20,18 +19,6 @@ from tox_poetry_installer import logger
|
||||
from tox_poetry_installer import utilities
|
||||
|
||||
|
||||
@impl
|
||||
def tox_add_core_config(core_conf: ConfigSet):
|
||||
"""Add required core configuration options to the tox INI file"""
|
||||
|
||||
core_conf.add_config(
|
||||
"parallel_install_threads",
|
||||
of_type=int,
|
||||
default=constants.DEFAULT_INSTALL_THREADS,
|
||||
desc="Number of locked dependencies to install simultaneously; set to 0 to disable parallel installation",
|
||||
)
|
||||
|
||||
|
||||
@impl
|
||||
def tox_add_option(parser: ToxParser):
|
||||
"""Add additional command line arguments to tox to configure plugin behavior"""
|
||||
|
Loading…
Reference in New Issue
Block a user