mirror of
https://github.com/enpaul/tox-poetry-installer.git
synced 2024-10-29 19:47:00 +00:00
Fix exception when not installing project dependencies
Fix bug in precommit args
This commit is contained in:
parent
e96f4fb5e5
commit
216ee8b095
@ -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"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user