hookspec: modernize a reference
This commit is contained in:
		
							parent
							
								
									dd1447cfe5
								
							
						
					
					
						commit
						c973ccb622
					
				| 
						 | 
					@ -173,8 +173,10 @@ def pytest_load_initial_conftests(
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@hookspec(firstresult=True)
 | 
					@hookspec(firstresult=True)
 | 
				
			||||||
def pytest_cmdline_main(config: "Config") -> Optional[Union["ExitCode", int]]:
 | 
					def pytest_cmdline_main(config: "Config") -> Optional[Union["ExitCode", int]]:
 | 
				
			||||||
    """Called for performing the main command line action. The default
 | 
					    """Called for performing the main command line action.
 | 
				
			||||||
    implementation will invoke the configure hooks and runtest_mainloop.
 | 
					
 | 
				
			||||||
 | 
					    The default implementation will invoke the configure hooks and
 | 
				
			||||||
 | 
					    :hook:`pytest_runtestloop`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Stops at first non-None result, see :ref:`firstresult`.
 | 
					    Stops at first non-None result, see :ref:`firstresult`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue