def run(self): fake = shell.native(self.dirs['fake']) if fake in _sys.path: _sys.path.remove(fake) _sys.path.insert(0, fake) from _setup.dev import analysis term.green('Linting wtf sources...') res = analysis.pylint('pylintrc', 'wtf') if res == 2: make.warn('pylint not found', self.NAME)
def run(self): fake = shell.native(self.dirs["fake"]) if fake in _sys.path: _sys.path.remove(fake) _sys.path.insert(0, fake) from _setup.dev import analysis term.green("Linting tdi sources...") res = analysis.pylint("pylintrc", "tdi") if res == 2: make.warn("pylint not found", self.NAME)
def run(self): from _setup.dev import analysis term.green('Linting rcssmin sources...') res = analysis.pylint('pylintrc', 'rcssmin') if res == 2: make.warn('pylint not found', self.NAME)
def run(self): from _setup.dev import analysis term.green('Linting rjsmin sources...') res = analysis.pylint('pylintrc', 'rjsmin') if res == 2: make.warn('pylint not found', self.NAME)