MCPcopy
hub / github.com/pantsbuild/pants / get_options

Method get_options

src/python/pants/task/task.py:204–209  ·  view source on GitHub ↗

Returns the option values for this task's scope. :API: public

(self)

Source from the content-addressed store, hash-verified

202 return BuildInvalidator.Factory.create(build_task=self.fingerprint)
203
204 def get_options(self):
205 """Returns the option values for this task's scope.
206
207 :API: public
208 """
209 return self.context.options.for_scope(self.options_scope)
210
211 def get_passthru_args(self):
212 """Returns the passthru args for this task, if it supports them.

Callers 15

get_passthru_argsMethod · 0.95
debugMethod · 0.95
__init__Method · 0.45
_compile_targetsMethod · 0.45
options_blobMethod · 0.45
checkstyleMethod · 0.45
executeMethod · 0.45
assert_optionsMethod · 0.45
is_ccMethod · 0.45
_compileMethod · 0.45
_link_binaryMethod · 0.45

Calls 1

for_scopeMethod · 0.45

Tested by 15

assert_optionsMethod · 0.36
_build_and_test_flagsMethod · 0.36
executeMethod · 0.36
spawn_and_waitMethod · 0.36
_timeout_for_targetMethod · 0.36
_timeout_for_targetsMethod · 0.36
run_tests_in_chrootMethod · 0.36
_executeMethod · 0.36
_get_sharding_argsMethod · 0.36