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

Function tox_add_option

src/tox/session/cmd/schema.py:28–32  ·  view source on GitHub ↗
(parser: ToxParser)

Source from the content-addressed store, hash-verified

26
27@impl
28def tox_add_option(parser: ToxParser) -> None:
29 our = parser.add_command(
30 "schema", [], "Generate schema for tox configuration", gen_schema, inherit=frozenset({CORE})
31 )
32 our.add_argument("--strict", action="store_true", help="Disallow extra properties in configuration")
33
34
35def gen_schema(state: State) -> int:

Callers

nothing calls this directly

Calls 2

add_commandMethod · 0.80
add_argumentMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…