Loading python/mozbuild/mozbuild/mach_commands.py +1 −1 Original line number Diff line number Diff line Loading @@ -488,7 +488,7 @@ class Warnings(MachCommandBase): help="Warnings report to display. If not defined, show the most " "recent report.", ) def list(self, command_context, directory=None, flags=None, report=None): def list_warnings(self, command_context, directory=None, flags=None, report=None): database = self.get_warnings_database(command_context) by_name = sorted(database.warnings) Loading tools/lint/mach_commands.py +1 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ class MachCommands(MachCommandBase): description="Format files, alternative to 'lint --fix' ", parser=setup_argument_parser, ) def format(self, command_context, paths, extra_args=[], **kwargs): def format_files(self, command_context, paths, extra_args=[], **kwargs): linters = kwargs["linters"] if not linters: Loading Loading
python/mozbuild/mozbuild/mach_commands.py +1 −1 Original line number Diff line number Diff line Loading @@ -488,7 +488,7 @@ class Warnings(MachCommandBase): help="Warnings report to display. If not defined, show the most " "recent report.", ) def list(self, command_context, directory=None, flags=None, report=None): def list_warnings(self, command_context, directory=None, flags=None, report=None): database = self.get_warnings_database(command_context) by_name = sorted(database.warnings) Loading
tools/lint/mach_commands.py +1 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ class MachCommands(MachCommandBase): description="Format files, alternative to 'lint --fix' ", parser=setup_argument_parser, ) def format(self, command_context, paths, extra_args=[], **kwargs): def format_files(self, command_context, paths, extra_args=[], **kwargs): linters = kwargs["linters"] if not linters: Loading