remove unneeded tox_add_core_config hook

This commit is contained in:
Obeida Shamoun 2023-06-24 01:56:54 +02:00
parent 3f99f3476c
commit 2b8936267e
No known key found for this signature in database
GPG Key ID: C393AE9D78004C18
2 changed files with 0 additions and 14 deletions

View File

@ -1,5 +1,4 @@
# pylint: disable=missing-docstring # 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_env_config
from tox_poetry_installer.hooks import tox_add_option from tox_poetry_installer.hooks import tox_add_option
from tox_poetry_installer.hooks import tox_on_install from tox_poetry_installer.hooks import tox_on_install

View File

@ -8,7 +8,6 @@ from itertools import chain
from typing import List from typing import List
from tox.config.cli.parser import ToxParser from tox.config.cli.parser import ToxParser
from tox.config.sets import ConfigSet
from tox.config.sets import EnvConfigSet from tox.config.sets import EnvConfigSet
from tox.plugin import impl from tox.plugin import impl
from tox.tox_env.api import ToxEnv as ToxVirtualEnv 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 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 @impl
def tox_add_option(parser: ToxParser): def tox_add_option(parser: ToxParser):
"""Add additional command line arguments to tox to configure plugin behavior""" """Add additional command line arguments to tox to configure plugin behavior"""