Skip to content

Commit

Permalink
fix:chatGPT's suggestion for docstring formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rmfranken committed Dec 16, 2024
1 parent d650e6a commit 077ad37
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions gimie/parsers/cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,9 @@ def get_cff_doi(data: bytes) -> Optional[str]:
Examples
--------
>>> get_cff_doi(bytes(
"identifiers:
- type: doi
value: 10.5281/zenodo.1234", encoding="utf8"))
>>> get_cff_doi(bytes("identifiers:\n- type: doi\n value: 10.5281/zenodo.1234", encoding="utf8"))
'https://doi.org/10.5281/zenodo.1234'
>>> get_cff_doi(bytes("abc: def", encoding="utf8"))
"""

try:
Expand Down

0 comments on commit 077ad37

Please sign in to comment.