Skip to content

Commit

Permalink
Fix TypeError under Python 3.5
Browse files Browse the repository at this point in the history
Github: fixes #3
  • Loading branch information
mikenerone committed Sep 17, 2020
1 parent f0ab375 commit 188a6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tox_poetry_dev_dependencies/_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def tox_configure(config: tox.config.Config) -> None:
def _get_dev_requirements(project_root_path: pathlib.Path) -> typing.List[str]:
poetry_factory = poetry.core.factory.Factory()
try:
poetry_ = poetry_factory.create_poetry(project_root_path)
poetry_ = poetry_factory.create_poetry(str(project_root_path))
except RuntimeError as runtime_error:
raise NoPoetryFound from runtime_error
else:
Expand Down

0 comments on commit 188a6bc

Please sign in to comment.