Skip to content

Commit

Permalink
style: mypy updated to 1.7.1 - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Jan 2, 2024
1 parent b795e7b commit 21f8aad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pikaur/news.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import TYPE_CHECKING

try:
from defusedxml.ElementTree import fromstring # type: ignore[import-not-found]
from defusedxml.ElementTree import fromstring # type: ignore[import-untyped]
except ModuleNotFoundError:
from xml.etree.ElementTree import fromstring # nosec B405

Expand Down
2 changes: 1 addition & 1 deletion pikaur/urllib_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def init_proxy() -> None:
socks_proxy_addr = socks_proxy_addr[:idx]

try:
import socks # type: ignore[import-not-found] # pylint: disable=import-outside-toplevel
import socks # type: ignore[import-untyped] # pylint: disable=import-outside-toplevel
except ImportError as exc:
raise ProxyInitSocks5Error(
translate("pikaur requires python-pysocks to use a socks5 proxy."),
Expand Down

0 comments on commit 21f8aad

Please sign in to comment.