File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 - id : pyupgrade
4040 args : [--py38-plus]
4141 - repo : https://github.com/astral-sh/ruff-pre-commit
42- rev : v0.8.6
42+ rev : v0.9.1
4343 hooks :
4444 - id : ruff
4545 args : [--fix, --exit-non-zero-on-fix]
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ def new_socket(
254254 except OSError as ex :
255255 if ex .errno == errno .EADDRNOTAVAIL :
256256 log .warning (
257- "Address not available when binding to %s, " " it is expected to happen on some systems" ,
257+ "Address not available when binding to %s, it is expected to happen on some systems" ,
258258 bind_tup ,
259259 )
260260 return None
@@ -295,8 +295,7 @@ def add_multicast_member(
295295 _errno = get_errno (e )
296296 if _errno == errno .EADDRINUSE :
297297 log .info (
298- "Address in use when adding %s to multicast group, "
299- "it is expected to happen on some systems" ,
298+ "Address in use when adding %s to multicast group, it is expected to happen on some systems" ,
300299 interface ,
301300 )
302301 return False
@@ -309,7 +308,7 @@ def add_multicast_member(
309308 return False
310309 if _errno in err_einval :
311310 log .info (
312- "Interface of %s does not support multicast, " " it is expected in WSL" ,
311+ "Interface of %s does not support multicast, it is expected in WSL" ,
313312 interface ,
314313 )
315314 return False
You can’t perform that action at this time.
0 commit comments