From 74691346bdf89c6588cf3a2c10505fce30ccd366 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 22 Jun 2022 08:29:02 -0700 Subject: [PATCH 1/2] fix some typos to ensure pre-commit.ci fixes main --- src/_pytest/config/argparsing.py | 2 +- src/_pytest/python_api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_pytest/config/argparsing.py b/src/_pytest/config/argparsing.py index fa27aa620..830bbd2e2 100644 --- a/src/_pytest/config/argparsing.py +++ b/src/_pytest/config/argparsing.py @@ -227,7 +227,7 @@ class Argument: _typ_map = {"int": int, "string": str, "float": float, "complex": complex} def __init__(self, *names: str, **attrs: Any) -> None: - """Store parms in private vars for use in add_argument.""" + """Store params in private vars for use in add_argument.""" self._attrs = attrs self._short_opts: List[str] = [] self._long_opts: List[str] = [] diff --git a/src/_pytest/python_api.py b/src/_pytest/python_api.py index 426b93ac2..10762ee7b 100644 --- a/src/_pytest/python_api.py +++ b/src/_pytest/python_api.py @@ -134,7 +134,7 @@ class ApproxBase: def _recursive_sequence_map(f, x): - """Recursively map a function over a sequence of arbitary depth""" + """Recursively map a function over a sequence of arbitrary depth""" if isinstance(x, (list, tuple)): seq_type = type(x) return seq_type(_recursive_sequence_map(f, xi) for xi in x) From cba65e74b34c0b31c0538acad86e29b78899aa29 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 22 Jun 2022 15:32:04 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- doc/en/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/en/conf.py b/doc/en/conf.py index 0022363b2..3c26b8ce0 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -320,7 +320,9 @@ latex_domain_indices = False # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [("how-to/usage", "pytest", "pytest usage", ["holger krekel at merlinux eu"], 1)] +man_pages = [ + ("how-to/usage", "pytest", "pytest usage", ["holger krekel at merlinux eu"], 1) +] # -- Options for Epub output ---------------------------------------------------