Skip to content

Commit

Permalink
lint: fixed in python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mistwire committed Jan 22, 2024
1 parent 4965907 commit bad179e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme_renderer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main(cli_args: Optional[List[str]] = None) -> None:

# Infer the format of the description from package metadata.
if not content_format:
content_type = message.get("Description-Content-Type", "text/x-rst") # type: ignore[attr-defined] # noqa: E501 https:/python/typeshed/issues/10021
content_type = message.get("Description-Content-Type", "text/x-rst")
if content_type == "text/x-rst":
content_format = "rst"
elif content_type == "text/markdown":
Expand Down

0 comments on commit bad179e

Please sign in to comment.