From db8246b3fc52994eac2cccd1416e64e36c3369e2 Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Fri, 18 Aug 2023 01:48:01 -0500 Subject: Alphabetize the fs module methods dict --- mesonbuild/modules/fs.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/mesonbuild/modules/fs.py b/mesonbuild/modules/fs.py index c76e744ab..296c7a872 100644 --- a/mesonbuild/modules/fs.py +++ b/mesonbuild/modules/fs.py @@ -45,23 +45,23 @@ class FSModule(ExtensionModule): def __init__(self, interpreter: 'Interpreter') -> None: super().__init__(interpreter) self.methods.update({ - 'expanduser': self.expanduser, - 'is_absolute': self.is_absolute, 'as_posix': self.as_posix, + 'copyfile': self.copyfile, 'exists': self.exists, - 'is_symlink': self.is_symlink, - 'is_file': self.is_file, - 'is_dir': self.is_dir, + 'expanduser': self.expanduser, 'hash': self.hash, - 'size': self.size, + 'is_absolute': self.is_absolute, + 'is_dir': self.is_dir, + 'is_file': self.is_file, 'is_samepath': self.is_samepath, - 'replace_suffix': self.replace_suffix, - 'parent': self.parent, + 'is_symlink': self.is_symlink, 'name': self.name, - 'stem': self.stem, + 'parent': self.parent, 'read': self.read, - 'copyfile': self.copyfile, 'relative_to': self.relative_to, + 'replace_suffix': self.replace_suffix, + 'size': self.size, + 'stem': self.stem, }) def _absolute_dir(self, state: 'ModuleState', arg: 'FileOrString') -> Path: -- cgit v1.2.3