Cleanup: pep8, blank lines
This commit is contained in:
@@ -28,6 +28,7 @@ import unittest
|
||||
|
||||
import bpy
|
||||
|
||||
|
||||
class FCurveEvaluationTest(unittest.TestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
|
@@ -44,7 +44,6 @@ class TestBlendFileSaveLoadBasic(TestHelper):
|
||||
assert(orig_data == read_data)
|
||||
|
||||
|
||||
|
||||
TESTS = (
|
||||
TestBlendFileSaveLoadBasic,
|
||||
)
|
||||
|
@@ -42,7 +42,6 @@ class TestBlendLibLinkSaveLoadBasic(TestHelper):
|
||||
assert(orig_data == read_data)
|
||||
|
||||
|
||||
|
||||
TESTS = (
|
||||
TestBlendLibLinkSaveLoadBasic,
|
||||
)
|
||||
|
@@ -43,6 +43,7 @@ def get_arguments(filepath, output_filepath):
|
||||
|
||||
return args
|
||||
|
||||
|
||||
def create_argparse():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("-blender", nargs="+")
|
||||
|
@@ -8,6 +8,7 @@ import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
def setup():
|
||||
import bpy
|
||||
|
||||
|
@@ -6,6 +6,7 @@ import glob
|
||||
import os
|
||||
import pathlib
|
||||
|
||||
|
||||
def _write_html(output_dir):
|
||||
combined_reports = ""
|
||||
|
||||
|
@@ -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])
|
||||
|
@@ -34,6 +34,7 @@ BLACKLIST = (
|
||||
# 'file_to_blacklist.blend',
|
||||
)
|
||||
|
||||
|
||||
def print_message(message, type=None, status=''):
|
||||
if type == 'SUCCESS':
|
||||
print(COLORS.GREEN, end="")
|
||||
|
Reference in New Issue
Block a user