Alphabetize the fs module methods dict

pull/12623/head
Tristan Partin 1 year ago committed by Eli Schwartz
parent 1b40fb1089
commit db8246b3fc
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 20
      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:

Loading…
Cancel
Save