File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ def __enter__(self) -> IPCServer:
272272 else :
273273 try :
274274 self .connection , _ = self .sock .accept ()
275- except socket . timeout as e :
275+ except TimeoutError as e :
276276 raise IPCException ("The socket timed out" ) from e
277277 return self
278278
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ force-exclude = '''
116116
117117[tool .ruff ]
118118line-length = 99
119- target-version = " py39 "
119+ target-version = " py310 "
120120fix = true
121121
122122extend-exclude = [
@@ -160,6 +160,7 @@ ignore = [
160160 " B007" , # Loop control variable not used within the loop body.
161161 " B011" , # Don't use assert False
162162 " B023" , # Function definition does not bind loop variable
163+ " B905" , # zip-without-explicit-strict
163164 " E2" , # conflicts with black
164165 " E402" , # module level import not at top of file
165166 " E501" , # conflicts with black
You can’t perform that action at this time.
0 commit comments