https://pantsbuild.org/ logo
#general
Title
# general
f

fast-megabyte-33579

04/08/2016, 3:02 PM
Copy code
from pants.backend.jvm.tasks.checkstyle import Checkstyle
from pants.backend.jvm.tasks.scalastyle import Scalastyle
from pants.goal.task_registrar import TaskRegistrar as task


def register_goals():
    task(name='checkstyle', action=Checkstyle).install('compile')
    task(name='scalastyle', action=Scalastyle).install('compile')