fierce-park-88503
08/11/2018, 2:45 PMlint goal? is there any way to get it to run automatically with test, binary, or run? or do we just need to remember to call it explicitly now?happy-kitchen-89482
08/13/2018, 11:53 PMcompile goal, that should give you the effect you want.happy-kitchen-89482
08/13/2018, 11:56 PMhappy-kitchen-89482
08/14/2018, 12:08 AMsrc/python/foo/pants in your repo.happy-kitchen-89482
08/14/2018, 12:08 AMregister.py that does the re-registration (more on that in a bit).happy-kitchen-89482
08/14/2018, 12:08 AMpants.ini, under [GLOBAL], you set:happy-kitchen-89482
08/14/2018, 12:09 AMbackend_packages: +['foo.pants']happy-kitchen-89482
08/14/2018, 12:09 AMpythonpath: [
'%(buildroot)s/src/python',
]happy-kitchen-89482
08/14/2018, 12:10 AMhappy-kitchen-89482
08/14/2018, 12:10 AMregister.py you implement def register_goals():happy-kitchen-89482
08/14/2018, 12:12 AMfrom pants.contrib.python.checks.tasks.checkstyle.checker import PythonCheckStyleTask
from pants.goal.task_registrar import TaskRegistrar as task
def register_goals():
task(name='python-eval', action=PythonEval).install('compile')happy-kitchen-89482
08/14/2018, 12:13 AMpants.ini you’ll need this if you don’t already have it:happy-kitchen-89482
08/14/2018, 12:13 AMplugins: [
'pantsbuild.pants.contrib.python.checks==%(pants_version)s',
]happy-kitchen-89482
08/14/2018, 12:14 AMfierce-park-88503
08/23/2018, 1:56 PMfierce-park-88503
08/23/2018, 1:56 PMtask(name='python-eval', action=PythonEval).install('compile') what’s PythonEval? Is that meant to be PythonCheckStyleTask?