Consistent black formatting of all Path python files
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user