mirror of
				https://github.com/enpaul/tox-poetry-installer.git
				synced 2025-11-03 07:39:20 +00:00 
			
		
		
		
	Fix exception when not installing project dependencies
Fix bug in precommit args
This commit is contained in:
		@@ -44,5 +44,5 @@ repos:
 | 
			
		||||
    hooks:
 | 
			
		||||
      - id: reorder-python-imports
 | 
			
		||||
        args:
 | 
			
		||||
          - "--unclassifiable-application-module tox_poetry_installer"
 | 
			
		||||
          - "--unclassifiable-application-module=tox_poetry_installer"
 | 
			
		||||
        language: system
 | 
			
		||||
 
 | 
			
		||||
@@ -108,6 +108,7 @@ def tox_testenv_install_deps(venv: ToxVirtualEnv, action: ToxAction) -> Optional
 | 
			
		||||
                venv, poetry, package_map
 | 
			
		||||
            )
 | 
			
		||||
        else:
 | 
			
		||||
            project_deps = []
 | 
			
		||||
            reporter.verbosity1(
 | 
			
		||||
                f"{constants.REPORTER_PREFIX} Skipping installation of project dependencies, env does not install project package"
 | 
			
		||||
            )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user