@invoke.task(help={'style': 'Check style with flake8, isort, and black', 'typing': 'Check typing with mypy'})
def check(arg, style=True, typing=True):
    if style:
        arg.run(f'flake8 {PACKAGE}', echo=True)
        arg.run(f'isort --diff {PACKAGE} --check-only', echo=True)
        arg.run(f'black --diff {PACKAGE} --check', echo=True)
    if typing:
        arg.run(f'mypy --no-incremental --cache-dir=/dev/null {PACKAGE}', echo=True)
@invoke.task(help={'style': 'Check style with flake8, isort, and black', 'typing': 'Check typing with mypy'})
def check(arg, style=True, typing=True):
    if style:
        arg.run(f'flake8 {PACKAGE}', echo=True)
        arg.run(f'isort --diff {PACKAGE} --check-only', echo=True)
        arg.run(f'black --diff {PACKAGE} --check', echo=True)
    if typing:
        arg.run(f'mypy --no-incremental --cache-dir=/dev/null {PACKAGE}', echo=True)