cheesecake_kwalitee_index/kwalitee/evaluator.py
def evaluate_score(self):
        """
        Run the entire test suite and get the package's score.
        """
        logger.info('Evaluating score for %s', self.package)
        try:
            ins = self.score['install']
            ins.value = self.install_package()

            # Stop early if we couldn't install
            if self.score['install'].value == 0:
                return

            self.score['version_number'].value = self.get_version()
            self.score['lint'].value = self.lint_test()
        finally:
            self.clean_up()

        # Let the tempdir be deleted and return the final score as a tuple
        final_score = sum(s.value for s in self.score.values())
        total = sum(s.total for s in self.score.values())
        return final_score, total

        Run the entire test suite and get the package's score.
        
Run the entire test suite and get the package's score.
Run the entire test suite and get the package ' s score .
def evaluate_score(self):
        logger.info('Evaluating score for %s', self.package)
        try:
            ins = self.score['install']
            ins.value = self.install_package()
            if self.score['install'].value == 0:
                return
            self.score['version_number'].value = self.get_version()
            self.score['lint'].value = self.lint_test()
        finally:
            self.clean_up()
        final_score = sum(s.value for s in self.score.values())
        total = sum(s.total for s in self.score.values())
        return final_score, total
def evaluate_score ( self ) : logger . info ( 'Evaluating score for %s' , self . package ) try : ins = self . score [ 'install' ] ins . value = self . install_package ( ) if self . score [ 'install' ] . value == 0 : return self . score [ 'version_number' ] . value = self . get_version ( ) self . score [ 'lint' ] . value = self . lint_test ( ) finally : self . clean_up ( ) final_score = sum ( s . value for s in self . score . values ( ) ) total = sum ( s . total for s in self . score . values ( ) ) return final_score , total
Run the entire test suite and get the package's score.
Run the entire test suite and get the package ' s score .
"""
        Run the entire test suite and get the package's score.
        """ # Stop early if we couldn't install # Let the tempdir be deleted and return the final score as a tuple
self