aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-24 09:28:00 -0500
committerEli Schwartz <eschwartz93@gmail.com>2022-11-24 15:17:23 -0500
commite85138fcc8373f925709124f8586a6feecf968d1 (patch)
treeb5051f163c9f3e2bf9e8e752e6d0a8c6e071a936 /mesonbuild/interpreter
parent9d1b59fa7ff1a1a31599a04a02c48c6b41026c2c (diff)
downloadmeson-e85138fcc8373f925709124f8586a6feecf968d1.zip
meson-e85138fcc8373f925709124f8586a6feecf968d1.tar.gz
meson-e85138fcc8373f925709124f8586a6feecf968d1.tar.bz2
Fix various spelling errors
Found with codespell.
Diffstat (limited to 'mesonbuild/interpreter')
-rw-r--r--mesonbuild/interpreter/interpreter.py2
-rw-r--r--mesonbuild/interpreter/interpreterobjects.py2
-rw-r--r--mesonbuild/interpreter/kwargs.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index fd7d64e..c34f9ab 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -1872,7 +1872,7 @@ class Interpreter(InterpreterBase, HoldableObject):
"""
for out in outputs:
if has_multi_in and ('@PLAINNAME@' in out or '@BASENAME@' in out):
- raise InvalidArguments(f'{name}: output cannot containe "@PLAINNAME@" or "@BASENAME@" '
+ raise InvalidArguments(f'{name}: output cannot contain "@PLAINNAME@" or "@BASENAME@" '
'when there is more than one input (we can\'t know which to use)')
@typed_pos_args('custom_target', optargs=[str])
diff --git a/mesonbuild/interpreter/interpreterobjects.py b/mesonbuild/interpreter/interpreterobjects.py
index 9628953..cac33a4 100644
--- a/mesonbuild/interpreter/interpreterobjects.py
+++ b/mesonbuild/interpreter/interpreterobjects.py
@@ -323,7 +323,7 @@ class ConfigurationDataHolder(ObjectHolder[build.ConfigurationData], MutableInte
@typed_kwargs('configuration_data.set10', _CONF_DATA_SET_KWS)
def set10_method(self, args: T.Tuple[str, T.Union[int, bool]], kwargs: 'kwargs.ConfigurationDataSet') -> None:
self.__check_used()
- # bool is a subclass of int, so we need to check for bool excplicitly.
+ # bool is a subclass of int, so we need to check for bool explicitly.
# We already have typed_pos_args checking that this is either a bool or
# an int.
if not isinstance(args[1], bool):
diff --git a/mesonbuild/interpreter/kwargs.py b/mesonbuild/interpreter/kwargs.py
index 86b82b9..1589c65 100644
--- a/mesonbuild/interpreter/kwargs.py
+++ b/mesonbuild/interpreter/kwargs.py
@@ -211,7 +211,7 @@ class _FoundProto(Protocol):
"""Protocol for subdir arguments.
- This allows us to define any objec that has a found(self) -> bool method
+ This allows us to define any object that has a found(self) -> bool method
"""
def found(self) -> bool: ...