MCPcopy
hub / github.com/tox-dev/tox / tox_add_option

Function tox_add_option

tests/plugin/test_inline.py:20–22  ·  view source on GitHub ↗
(parser: ToxParser)

Source from the content-addressed store, hash-verified

18
19 @impl
20 def tox_add_option(parser: ToxParser) -> None:
21 logging.warning("Add magic")
22 parser.add_argument("--magic", action="store_true")
23
24 project = tox_project({"toxfile.py": plugin})
25 result = project.run("-h")

Callers

nothing calls this directly

Calls 1

add_argumentMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…