mirror of
				https://github.com/fedora-python/tox-current-env.git
				synced 2025-11-04 01:58:56 +01:00 
			
		
		
		
	Avoid setting the default runner
Setting the default runner to tox's default when `--current-env` is not used can override another plugin like `tox-uv` which wants to change the default runner. According to [this comment](https://github.com/fedora-python/tox-current-env/pull/42#discussion_r1048595612) the issue that led to the need to set the default runner has been addressed and that appears to be confirmed by testing.
This commit is contained in:
		@@ -93,10 +93,6 @@ def tox_add_core_config(core_conf, state):
 | 
			
		||||
        opt.default_runner = "print-env"
 | 
			
		||||
        return
 | 
			
		||||
 | 
			
		||||
    # No options used - switch back to the standard runner
 | 
			
		||||
    # Workaround for: https://github.com/tox-dev/tox/issues/2264
 | 
			
		||||
    opt.default_runner = "virtualenv"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@impl
 | 
			
		||||
def tox_add_env_config(env_conf, state):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user