diff options
author | Antonin Décimo <antonin.decimo@gmail.com> | 2021-01-12 22:15:42 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2021-01-13 12:53:10 -0500 |
commit | 39ede12aa5b27376341df85bc9ec254913f044bd (patch) | |
tree | d079bfefe3a9010dd7d7a57dfe207d9b6532b8e8 /mesonbuild/modules | |
parent | ccb15bc0e988f4e90b67606eaad9443c7ccac918 (diff) | |
download | meson-39ede12aa5b27376341df85bc9ec254913f044bd.zip meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.gz meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.bz2 |
Fix misspells
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r-- | mesonbuild/modules/fs.py | 2 | ||||
-rw-r--r-- | mesonbuild/modules/hotdoc.py | 4 | ||||
-rw-r--r-- | mesonbuild/modules/unstable_rust.py | 2 |
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 |