Ruff format

This commit is contained in:
2026-09-17 15:23:42 -07:00
parent e593996b65
commit f7808e2236
37 changed files with 1877 additions and 1399 deletions
+3 -3
View File
@@ -8,13 +8,13 @@ class MyTestCase(unittest.TestCase):
v = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
expected = [1, 2, 7, 5, 6, 15, 9, 10]
should = (lambda x, y: y % 4 == 0)
do_combine = (lambda x, y: x + y)
should = lambda x, y: y % 4 == 0
do_combine = lambda x, y: x + y
r = apply_appends(iter(v), should, do_combine)
r1 = list(r)
self.assertEqual(r1, expected)
if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()