File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -464,14 +464,14 @@ def __eq__(self, other: typing.Any) -> bool:
464464def is_ipv4_hostname (hostname : str ) -> bool :
465465 try :
466466 ipaddress .IPv4Address (hostname .split ("/" )[0 ])
467- except :
467+ except Exception :
468468 return False
469469 return True
470470
471471
472472def is_ipv6_hostname (hostname : str ) -> bool :
473473 try :
474474 ipaddress .IPv6Address (hostname .split ("/" )[0 ])
475- except :
475+ except Exception :
476476 return False
477477 return True
Original file line number Diff line number Diff line change 1111./scripts/sync-version
1212${PREFIX} black --check --diff --target-version=py37 $SOURCE_FILES
1313${PREFIX} mypy $SOURCE_FILES
14- ${PREFIX} ruff check --diff $SOURCE_FILES
14+ ${PREFIX} ruff check $SOURCE_FILES
You can’t perform that action at this time.
0 commit comments