From 39ede12aa5b27376341df85bc9ec254913f044bd Mon Sep 17 00:00:00 2001 From: Antonin Décimo Date: Tue, 12 Jan 2021 22:15:42 +0100 Subject: Fix misspells MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Antonin Décimo --- mesonbuild/modules/fs.py | 2 +- mesonbuild/modules/hotdoc.py | 4 ++-- mesonbuild/modules/unstable_rust.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mesonbuild/modules') diff --git a/mesonbuild/modules/fs.py b/mesonbuild/modules/fs.py index 5ba1e3819..2ff256b90 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 ee756e71c..931db12f9 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 72b521788..02369b643 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 -- cgit v1.2.3