Consistent black formatting of all Path python files

This commit is contained in:
Markus Lampert
2022-02-28 21:06:16 -08:00
parent 122fd49b37
commit 37095fbf78
93 changed files with 5216 additions and 3118 deletions

View File

@@ -33,9 +33,12 @@ __contributors__ = "russ4262 (Russell Johnson)"
class ObjectProfile(PathProfile.ObjectProfile):
'''Pseudo class for Profile operation,
allowing for backward compatibility with pre-existing "Profile Edges" operations.'''
"""Pseudo class for Profile operation,
allowing for backward compatibility with pre-existing "Profile Edges" operations."""
pass
# Eclass
@@ -44,7 +47,7 @@ def SetupProperties():
def Create(name, obj=None, parentJob=None):
'''Create(name) ... Creates and returns a Profile operation.'''
"""Create(name) ... Creates and returns a Profile operation."""
if obj is None:
obj = FreeCAD.ActiveDocument.addObject("Path::FeaturePython", name)
obj.Proxy = ObjectProfile(obj, name, parentJob)