mirror of
				https://github.com/enpaul/tox-poetry-installer.git
				synced 2025-11-04 07:46:06 +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:
 | 
					    hooks:
 | 
				
			||||||
      - id: reorder-python-imports
 | 
					      - id: reorder-python-imports
 | 
				
			||||||
        args:
 | 
					        args:
 | 
				
			||||||
          - "--unclassifiable-application-module tox_poetry_installer"
 | 
					          - "--unclassifiable-application-module=tox_poetry_installer"
 | 
				
			||||||
        language: system
 | 
					        language: system
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -108,6 +108,7 @@ def tox_testenv_install_deps(venv: ToxVirtualEnv, action: ToxAction) -> Optional
 | 
				
			|||||||
                venv, poetry, package_map
 | 
					                venv, poetry, package_map
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
 | 
					            project_deps = []
 | 
				
			||||||
            reporter.verbosity1(
 | 
					            reporter.verbosity1(
 | 
				
			||||||
                f"{constants.REPORTER_PREFIX} Skipping installation of project dependencies, env does not install project package"
 | 
					                f"{constants.REPORTER_PREFIX} Skipping installation of project dependencies, env does not install project package"
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user