Skip to content

Commit

Permalink
Format Python code
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Oct 11, 2024
1 parent 57d37a9 commit 47b3956
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/python_minifier/transforms/remove_annotations_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def __init__(self, remove_variable_annotations=True, remove_return_annotations=T
self.remove_class_attribute_annotations = remove_class_attribute_annotations

def __repr__(self):
return 'RemoveAnnotationsOptions(remove_variable_annotations=%r, remove_return_annotations=%r, remove_argument_annotations=%r, remove_class_attribute_annotations=%r)' % (self.remove_variable_annotations, self.remove_return_annotations, self.remove_argument_annotations, self.remove_class_attribute_annotations)
return 'RemoveAnnotationsOptions(remove_variable_annotations=%r, remove_return_annotations=%r, remove_argument_annotations=%r, remove_class_attribute_annotations=%r)' % (
self.remove_variable_annotations, self.remove_return_annotations, self.remove_argument_annotations, self.remove_class_attribute_annotations
)

def __nonzero__(self):
return any((self.remove_variable_annotations, self.remove_return_annotations, self.remove_argument_annotations, self.remove_class_attribute_annotations))
Expand Down

0 comments on commit 47b3956

Please sign in to comment.