File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,3 +158,10 @@ extend-select = [
158158 # use improvement.
159159 # "SIM", # flake8-simplify
160160]
161+
162+ [tool .ruff .lint .per-file-ignores ]
163+ # Ignores needed to pass the Ruff 0.16 update.
164+ # Module names match platform names (iOS, macOS), which don't conform to
165+ # standard module naming conventions.
166+ "tests/test_iOS.py" = [" N999" ]
167+ "tests/test_macOS.py" = [" N999" , " PLW1510" ]
Original file line number Diff line number Diff line change @@ -266,13 +266,17 @@ def test_hashlib():
266266 ),
267267 "shake_128" : (
268268 40 ,
269- "c1301df86b1dc67ce3b5a067dc9b47affca8caa08f41d1efa614cea56f526897"
270- "d61ded8ab01421f1" ,
269+ (
270+ "c1301df86b1dc67ce3b5a067dc9b47affca8caa08f41d1efa614cea56f526897"
271+ "d61ded8ab01421f1"
272+ ),
271273 ),
272274 "shake_256" : (
273275 40 ,
274- "20740b4c7a7997765e9cc254b44a1589e60849be0fe70b68a6fb732415edaa13"
275- "3bb6eb7825ffa531" ,
276+ (
277+ "20740b4c7a7997765e9cc254b44a1589e60849be0fe70b68a6fb732415edaa13"
278+ "3bb6eb7825ffa531"
279+ ),
276280 ),
277281 }
278282 for algorithm , details in algorithms .items ():
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def run_tests():
3232 # macOS, output the log sentinel multiple times to decrease the chance of
3333 # this happening.
3434 if sys .platform in {"darwin" , "ios" }:
35- for _ in range (0 , 6 ):
35+ for _ in range (6 ):
3636 time .sleep (0.5 )
3737 print (f">>>>>>>>>> EXIT { returncode } <<<<<<<<<<" )
3838 else :
You can’t perform that action at this time.
0 commit comments