Cleanup: autopep8

This commit is contained in:
2022-04-26 15:03:04 +10:00
parent 802bc8e233
commit e3724d29ff
6 changed files with 6 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ def setup():
collection = bpy.data.collections.new("Reflection")
collection.objects.link(plane)
# Add all lights to light the plane
if invert == False:
if not invert:
for light in bpy.data.objects:
if light.type == 'LIGHT':
collection.objects.link(light)

View File

@@ -13,5 +13,5 @@ geo_node_test = BlendFileTest("test_object", "expected_object", threshold=1e-4)
result = geo_node_test.run_test()
# Telling `ctest` about the failed test by raising Exception.
if result == False:
if not result:
raise Exception("Failed {}".format(geo_node_test.test_name))