Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/p/i/pida-0.6.2/pida-plugins/python/python.py   pida(Download)
    def get_markup(self):
        args = [('<b>%s</b>' % arg) for arg in self.message_args]
        message_string = self.message % tuple(args)
        if self.type_ == LANG_VALIDATOR_TYPES.ERROR:
            typec = self.lookup_color('pida-val-error')
        elif self.type_ == LANG_VALIDATOR_TYPES.INFO:
            typec = self.lookup_color('pida-val-info')
        elif self.type_ == LANG_VALIDATOR_TYPES.WARNING:
            typec = self.lookup_color('pida-val-warning')
            typec = self.lookup_color('pida-val-warning')
        else:
            typec = self.lookup_color('pida-val-def')
 
        if typec:
            typec = typec.to_string()
        else:
            typec = "black"
 
        linecolor = self.lookup_color('pida-lineno')