Skip to content

Commit 3176fa0

Browse files
committed
Ignore vermin in one place
1 parent 0f6ae97 commit 3176fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toot/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def urlencode_url(url: str) -> str:
154154
def get_distro_name() -> Optional[str]:
155155
"""Attempt to get linux distro name from platform (requires python 3.10+)"""
156156
try:
157-
return platform.freedesktop_os_release()["PRETTY_NAME"] # type: ignore
157+
return platform.freedesktop_os_release()["PRETTY_NAME"] # type: ignore # novermin
158158
except Exception:
159159
pass
160160

0 commit comments

Comments
 (0)