diff --git a/kebechet/managers/pipfile_requirements/pipfile_requirements.py b/kebechet/managers/pipfile_requirements/pipfile_requirements.py index 19fb9766..a88d4188 100644 --- a/kebechet/managers/pipfile_requirements/pipfile_requirements.py +++ b/kebechet/managers/pipfile_requirements/pipfile_requirements.py @@ -46,8 +46,8 @@ def get_pipfile_requirements(self, content_str: str) -> typing.Set[str]: isinstance(entry, dict) and "version" not in entry ): # e.g. using git, ... - issue_title = f"No pinned version for {package_name}" - body = f"Package {package_name} does not use pinned version in Pipfile: {entry}" + issue_title = f"No pinned version for package {package_name}" + body = f"Package `{package_name}` does not use pinned version in Pipfile:\n```json\n{entry}\n```" if self.get_issue_by_title(issue_title) is None: self.project.create_issue( title=issue_title, @@ -68,8 +68,8 @@ def get_pipfile_lock_requirements(self, content_str: str) -> typing.Set[str]: for package_name, package_version in content.items(): if not isinstance(package_version, str): # e.g. using git, ... - issue_title = f"Unsupported version entry for {package_name}" - body = f"Unsupported version entry for {package_name} in Pipfile.lock: {package_version}" + issue_title = f"Unsupported version entry for package {package_name}" + body = f"Unsupported version entry for package `{package_name}` in Pipfile.lock: {package_version}" if self.get_issue_by_title(issue_title) is None: self.project.create_issue( title=issue_title,