Repository URL to install this package:
|
Version:
1.26.0.dev0+gite506aa5f ▾
|
pantsbuild.pants.contrib.python.checks
/
contrib
/
python
/
checks
/
tasks
/
python_eval_subsystem.py
|
|---|
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from pants.subsystem.subsystem import Subsystem
class PythonEval(Subsystem):
options_scope = "python-eval"
@classmethod
def register_options(cls, register):
super().register_options(register)
register(
"--skip",
type=bool,
default=False,
help="Don't use `python-eval` when running `./pants lint`.",
)