homework_checker/core/tools.py
def succeeded(self: CmdResult) -> bool:
        """Check if the command succeeded."""
        if self.returncode is not None:
            return self.returncode == CmdResult.SUCCESS
        if self.stderr:
            return False
        return True
Check if the command succeeded.
Check if the command succeeded.
Check if the command succeeded .
def succeeded(self: CmdResult) -> bool:
        if self.returncode is not None:
            return self.returncode == CmdResult.SUCCESS
        if self.stderr:
            return False
        return True
def succeeded ( self : CmdResult ) -> bool : if self . returncode is not None : return self . returncode == CmdResult . SUCCESS if self . stderr : return False return True
Check if the command succeeded.
Check if the command succeeded .
"""Check if the command succeeded."""
self
CmdResult