diff --git a/oneup/cli.py b/oneup/cli.py index fe8e236..aed7d4e 100644 --- a/oneup/cli.py +++ b/oneup/cli.py @@ -125,8 +125,14 @@ def scan_file(requirements_file_path: Path) -> None: tool_specs = parsed_toml["tool"] if "poetry" in tool_specs: poetry_specs = tool_specs["poetry"] - if "dependencies" in poetry_specs: - dependencies = list(poetry_specs["dependencies"].keys()) + dependencies = [] + + for key in ("dependencies", "dev-dependencies"): + if key in poetry_specs: + dependencies.extend( + list(poetry_specs["dependencies"].keys()) + ) + for dependency in dependencies: print_project_latest_version(dependency)