Merge pull request #10070 from pytest-dev/typos
fix some typos to ensure pre-commit.ci fixes main
This commit is contained in:
commit
141c5e5a89
|
@ -320,7 +320,9 @@ latex_domain_indices = False
|
||||||
|
|
||||||
# One entry per manual page. List of tuples
|
# One entry per manual page. List of tuples
|
||||||
# (source start file, name, description, authors, manual section).
|
# (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 ---------------------------------------------------
|
# -- Options for Epub output ---------------------------------------------------
|
||||||
|
|
|
@ -227,7 +227,7 @@ class Argument:
|
||||||
_typ_map = {"int": int, "string": str, "float": float, "complex": complex}
|
_typ_map = {"int": int, "string": str, "float": float, "complex": complex}
|
||||||
|
|
||||||
def __init__(self, *names: str, **attrs: Any) -> None:
|
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._attrs = attrs
|
||||||
self._short_opts: List[str] = []
|
self._short_opts: List[str] = []
|
||||||
self._long_opts: List[str] = []
|
self._long_opts: List[str] = []
|
||||||
|
|
|
@ -134,7 +134,7 @@ class ApproxBase:
|
||||||
|
|
||||||
|
|
||||||
def _recursive_sequence_map(f, x):
|
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)):
|
if isinstance(x, (list, tuple)):
|
||||||
seq_type = type(x)
|
seq_type = type(x)
|
||||||
return seq_type(_recursive_sequence_map(f, xi) for xi in x)
|
return seq_type(_recursive_sequence_map(f, xi) for xi in x)
|
||||||
|
|
Loading…
Reference in New Issue