aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r--mesonbuild/modules/fs.py2
-rw-r--r--mesonbuild/modules/hotdoc.py4
-rw-r--r--mesonbuild/modules/unstable_rust.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/modules/fs.py b/mesonbuild/modules/fs.py
index 5ba1e38..2ff256b 100644
--- a/mesonbuild/modules/fs.py
+++ b/mesonbuild/modules/fs.py
@@ -45,7 +45,7 @@ class FSModule(ExtensionModule):
"""
path = self._absolute_dir(state, arg)
try:
- # accomodate unresolvable paths e.g. symlink loops
+ # accommodate unresolvable paths e.g. symlink loops
path = path.resolve()
except Exception:
# return the best we could do
diff --git a/mesonbuild/modules/hotdoc.py b/mesonbuild/modules/hotdoc.py
index ee756e7..931db12 100644
--- a/mesonbuild/modules/hotdoc.py
+++ b/mesonbuild/modules/hotdoc.py
@@ -281,7 +281,7 @@ class HotdocTargetBuilder:
return os.path.relpath(_dir, os.path.join(self.builddir, self.subdir))
- def check_forbiden_args(self):
+ def check_forbidden_args(self):
for arg in ['conf_file']:
if arg in self.kwargs:
raise InvalidArguments('Argument "%s" is forbidden.' % arg)
@@ -290,7 +290,7 @@ class HotdocTargetBuilder:
self.include_paths[path] = path
def make_targets(self):
- self.check_forbiden_args()
+ self.check_forbidden_args()
file_types = (str, mesonlib.File)
self.process_known_arg("--index", file_types, mandatory=True, value_processor=self.ensure_file)
self.process_known_arg("--project-version", str, mandatory=True)
diff --git a/mesonbuild/modules/unstable_rust.py b/mesonbuild/modules/unstable_rust.py
index 72b5217..02369b6 100644
--- a/mesonbuild/modules/unstable_rust.py
+++ b/mesonbuild/modules/unstable_rust.py
@@ -40,7 +40,7 @@ class RustModule(ExtensionModule):
Rust puts it's unitests inside it's main source files, unlike most
languages that put them in external files. This means that normally
- you have to define two seperate targets with basically the same
+ you have to define two separate targets with basically the same
arguments to get tests:
```meson