Skip to content

Commit

Permalink
Ignore vermin in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
ihabunek committed Sep 29, 2024
1 parent 0f6ae97 commit 3176fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toot/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def urlencode_url(url: str) -> str:
def get_distro_name() -> Optional[str]:
"""Attempt to get linux distro name from platform (requires python 3.10+)"""
try:
return platform.freedesktop_os_release()["PRETTY_NAME"] # type: ignore
return platform.freedesktop_os_release()["PRETTY_NAME"] # type: ignore # novermin
except Exception:
pass

Expand Down

0 comments on commit 3176fa0

Please sign in to comment.