Exemplo n.º 1
0
 def __init__(self, registry, path):
     GenericCheck.__init__(self, registry.checks, path)
     for tag in _TAGS:
         try:
             setattr(self, tag, tag + ': undefined')
         except AttributeError:
             pass
     self.type = self.DEFAULT_TYPE
     self.group = self.DEFAULT_GROUP
     self.needs = ['CreateEnvCheck']
     self.deprecates = []
     self.text = ''
     self.registry = registry
     self._name = None
     self._parse(path)
Exemplo n.º 2
0
 def __init__(self, checks, registry):
     GenericCheck.__init__(self, checks, __file__)
     self.text = 'Create review-env.sh'
     self.automatic = True
     self.type = 'EXTRA'
     self.registry = registry