mev-inspect-py/scripts/dev_tools.py
2021-07-23 08:25:44 -07:00

23 lines
408 B
Python

from subprocess import check_call
def lint():
check_call(['pylint'])
def test():
check_call(['pytest', '--cov=mev_inspect', 'tests'])
def isort():
check_call(['isort', '.'])
def isortcheck():
check_call(['isort', '--diff', '.'])
def mypy():
check_call(['mypy', '.'])
def black():
check_call(['black', '.'])
def blackcheck():
check_call(['black', '--diff', '--color', '.'])