MCPcopy Index your code
hub / github.com/ipython/ipython / get_optionflags

Function get_optionflags

IPython/testing/plugin/pytest_ipdoctest.py:478–484  ·  view source on GitHub ↗
(parent: "IPDoctestModule")

Source from the content-addressed store, hash-verified

476
477
478def get_optionflags(parent: "IPDoctestModule") -> int:
479 optionflags_str = parent.config.getini("ipdoctest_optionflags")
480 flag_lookup_table = _get_flag_lookup()
481 flag_acc = 0
482 for flag in optionflags_str:
483 flag_acc |= flag_lookup_table[flag]
484 return flag_acc
485
486
487def _get_continue_on_failure(config: Config) -> bool:

Callers 2

collectMethod · 0.85
collectMethod · 0.85

Calls 1

_get_flag_lookupFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…