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

Method fix_defaults

src/tox/config/cli/parser.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 super().__init__(*args, **kwargs)
44
45 def fix_defaults(self) -> None:
46 for action in self._actions:
47 self.fix_default(action)
48
49 def fix_default(self, action: Action) -> None:
50 if hasattr(action, "default") and hasattr(action, "dest") and action.default != SUPPRESS:

Callers 5

_get_parserFunction · 0.80
fix_defaultMethod · 0.80
_add_base_optionsMethod · 0.80

Calls 1

fix_defaultMethod · 0.95

Tested by 2