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

@@ -32,9 +32,12 @@ __doc__ = "Implementation of the Contour operation (depreciated)."
class ObjectContour(PathProfile.ObjectProfile):
'''Pseudo class for Profile operation,
allowing for backward compatibility with pre-existing "Contour" operations.'''
"""Pseudo class for Profile operation,
allowing for backward compatibility with pre-existing "Contour" operations."""
pass
# Eclass
@@ -43,7 +46,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 = ObjectContour(obj, name, parentJob)