def is_usable(self): if not in_path('mypy'): return False # mypy only avaiable in Python 3 python_version = self.python_name[6:] major, *_ = python_version.split('.', 1) if int(major) < 3: return False return True
def is_usable(self): return in_path('jsonlint') or npm_exists('jsonlint', self.working_dir)
def is_usable(self): return in_path('bandit')
def is_usable(self): return in_path('shellcheck')
def is_usable(self): return in_path('pep8')
def is_usable(self): return in_path('flake8')
def is_usable(self): return in_path('pycodestyle')
def is_usable(self): return in_path('pylint')
def is_usable(self): return in_path('yamllint')