Skip to content

Commit

Permalink
chore: fix an issue where package category would not be present
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriKouliche committed Sep 24, 2024
1 parent 0f801bc commit a3c90c7
Show file tree
Hide file tree
Showing 2 changed files with 1,036 additions and 314 deletions.
2 changes: 1 addition & 1 deletion deps_report/parsers/python/poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def get_dependencies(self) -> list[Dependency]:
Dependency(
name=name,
version=package["version"],
for_dev=package["category"] == "dev",
for_dev=False,
repositories=[repositories["pypi"]],
transitive=self._is_transitive_dependency(
pyproject_file_content, name
Expand Down
Loading

0 comments on commit a3c90c7

Please sign in to comment.