import invoke

def run(*args, **kwargs):
    kwargs.update(echo=True)
    return invoke.run(*args, **kwargs)

@invoke.task
def clean():
    run("rm -rf .tox/")
    run("rm -rf dist/")
    run("rm -rf pyservice.egg-info/")
    run("find . -name '*.pyc' -delete")
    run("find . -name '__pycache__' -delete")

@invoke.task('clean')
def build():
    run("python setup.py develop")
    pass

@invoke.task('clean')
def test():
    run('tox')

import invoke

def run(*args, **kwargs):
    kwargs.update(echo=True)
    return invoke.run(*args, **kwargs)

@invoke.task
def clean():
    run("rm -rf .tox/")
    run("rm -rf dist/")
    run("rm -rf pyservice.egg-info/")
    run("find . -name '*.pyc' -delete")
    run("find . -name '__pycache__' -delete")
    run("rm -f .coverage")

@invoke.task('clean')
def build():
    run("python setup.py develop")
    pass

@invoke.task('clean')
def test():
    run('tox')

Add .coverage to clean task
Add .coverage to clean task

  import invoke
  
  def run(*args, **kwargs):
      kwargs.update(echo=True)
      return invoke.run(*args, **kwargs)
  
  @invoke.task
  def clean():
      run("rm -rf .tox/")
      run("rm -rf dist/")
      run("rm -rf pyservice.egg-info/")
      run("find . -name '*.pyc' -delete")
      run("find . -name '__pycache__' -delete")
+     run("rm -f .coverage")
  
  @invoke.task('clean')
  def build():
      run("python setup.py develop")
      pass
  
  @invoke.task('clean')
  def test():
      run('tox')
  
Add .coverage to clean task
## Code Before:
import invoke

def run(*args, **kwargs):
    kwargs.update(echo=True)
    return invoke.run(*args, **kwargs)

@invoke.task
def clean():
    run("rm -rf .tox/")
    run("rm -rf dist/")
    run("rm -rf pyservice.egg-info/")
    run("find . -name '*.pyc' -delete")
    run("find . -name '__pycache__' -delete")

@invoke.task('clean')
def build():
    run("python setup.py develop")
    pass

@invoke.task('clean')
def test():
    run('tox')

## Instruction:
Add .coverage to clean task
## Code After:
import invoke

def run(*args, **kwargs):
    kwargs.update(echo=True)
    return invoke.run(*args, **kwargs)

@invoke.task
def clean():
    run("rm -rf .tox/")
    run("rm -rf dist/")
    run("rm -rf pyservice.egg-info/")
    run("find . -name '*.pyc' -delete")
    run("find . -name '__pycache__' -delete")
    run("rm -f .coverage")

@invoke.task('clean')
def build():
    run("python setup.py develop")
    pass

@invoke.task('clean')
def test():
    run('tox')
