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

Function main

src/tox/run.py:41–49  ·  view source on GitHub ↗
(args: Sequence[str])

Source from the content-addressed store, hash-verified

39
40
41def main(args: Sequence[str]) -> int:
42 state = setup_state(args)
43 from tox.provision import provision # noqa: PLC0415
44
45 result = provision(state)
46 if result is not False:
47 return result
48 handler = state._options.cmd_handlers[state.conf.options.command] # noqa: SLF001
49 return handler(state)
50
51
52def setup_state(args: Sequence[str]) -> State:

Callers 1

runFunction · 0.70

Calls 3

provisionFunction · 0.90
setup_stateFunction · 0.85
handlerFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…