@hookspec(firstresult=True) defpytest_cmdline_main(config: "Config") -> Optional[Union["ExitCode", int]]: """Called for performing the main command line action. The default implementation will invoke the configure hooks and runtest_mainloop. Stops at first non-None result, see :ref:`firstresult`. :param pytest.Config config: The pytest config object. """
defpytest_load_initial_conftests( early_config: "Config", parser: "Parser", args: List[str] ) -> None: """Called to implement the loading of initial conftest files ahead of command line option parsing. .. note:: This hook will not be called for ``conftest.py`` files, only for setuptools plugins. :param pytest.Config early_config: The pytest config object. :param List[str] args: Arguments passed on the command line. :param pytest.Parser parser: To add command line options. """