Cleanup: pep8, blank lines

This commit is contained in:
Campbell Barton
2020-10-02 10:10:01 +10:00
parent 28ebe827e6
commit bab9de2a52
54 changed files with 132 additions and 59 deletions

View File

@@ -28,6 +28,7 @@ import unittest
import bpy
class FCurveEvaluationTest(unittest.TestCase):
@classmethod
def setUpClass(cls):

View File

@@ -44,7 +44,6 @@ class TestBlendFileSaveLoadBasic(TestHelper):
assert(orig_data == read_data)
TESTS = (
TestBlendFileSaveLoadBasic,
)

View File

@@ -42,7 +42,6 @@ class TestBlendLibLinkSaveLoadBasic(TestHelper):
assert(orig_data == read_data)
TESTS = (
TestBlendLibLinkSaveLoadBasic,
)

View File

@@ -43,6 +43,7 @@ def get_arguments(filepath, output_filepath):
return args
def create_argparse():
parser = argparse.ArgumentParser()
parser.add_argument("-blender", nargs="+")

View File

@@ -8,6 +8,7 @@ import shutil
import subprocess
import sys
def setup():
import bpy

View File

@@ -6,6 +6,7 @@ import glob
import os
import pathlib
def _write_html(output_dir):
combined_reports = ""

View File

@@ -95,6 +95,7 @@ class PhysicsSpec:
return "Physics Modifier: " + self.modifier_name + " of type " + self.modifier_type + \
" with parameters: " + str(self.modifier_parameters) + " with frame end: " + str(self.frame_end)
class OperatorSpec:
"""
Holds one operator and its parameters.
@@ -281,7 +282,6 @@ class MeshTest:
print("Created modifier '{}' of type '{}'.".
format(physics_spec.modifier_name, physics_spec.modifier_type))
for param_name in physics_spec.modifier_parameters:
try:
setattr(physics_setting, param_name, physics_spec.modifier_parameters[param_name])

View File

@@ -34,6 +34,7 @@ BLACKLIST = (
# 'file_to_blacklist.blend',
)
def print_message(message, type=None, status=''):
if type == 'SUCCESS':
print(COLORS.GREEN, end="")