diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-26 08:03:04 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-26 08:03:04 +0300 |
commit | e3724d29ffb753867ebd1c52f7b644fdcb2bba25 (patch) | |
tree | 6836b2b98fded12de2521220375729597004b3c4 /doc | |
parent | 802bc8e2330062e321eef24a58ca9fe86778fdf7 (diff) |
Cleanup: autopep8
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/blender_file_format/BlendFileDnaExporter_25.py | 2 | ||||
-rw-r--r-- | doc/python_api/examples/gpu.8.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/blender_file_format/BlendFileDnaExporter_25.py b/doc/blender_file_format/BlendFileDnaExporter_25.py index 91a313b789f..f84f7482baf 100755 --- a/doc/blender_file_format/BlendFileDnaExporter_25.py +++ b/doc/blender_file_format/BlendFileDnaExporter_25.py @@ -411,7 +411,7 @@ def main(): # read blend header from blend file log.info("2: read file:") - if not dir in sys.path: + if dir not in sys.path: sys.path.append(dir) import BlendFileReader diff --git a/doc/python_api/examples/gpu.8.py b/doc/python_api/examples/gpu.8.py index 86a242b0258..385b71d0c1a 100644 --- a/doc/python_api/examples/gpu.8.py +++ b/doc/python_api/examples/gpu.8.py @@ -43,7 +43,7 @@ with offscreen.bind(): offscreen.free() -if not IMAGE_NAME in bpy.data.images: +if IMAGE_NAME not in bpy.data.images: bpy.data.images.new(IMAGE_NAME, WIDTH, HEIGHT) image = bpy.data.images[IMAGE_NAME] image.scale(WIDTH, HEIGHT) |