Skip to content

Commit

Permalink
apply Black 2024 style in fbcode (11/16)
Browse files Browse the repository at this point in the history
Summary:
Formats the covered files with pyfmt.

paintitblack

Reviewed By: aleivag

Differential Revision: D54447738

fbshipit-source-id: acf3c943c52ac1acaeee46bc1b9c8a3173f9aef4
  • Loading branch information
amyreese authored and facebook-github-bot committed Mar 3, 2024
1 parent e20980e commit 0117fbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions augly/video/augmenters/cv2/shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def random_shape_type(shape_type: Optional[str]) -> Iterator[str]:
shapes = ["circle", "rectangle"]

while True:
yield shape_type if shape_type else shapes[
random.randint(0, len(shapes) - 1)
]
yield (
shape_type if shape_type else shapes[random.randint(0, len(shapes) - 1)]
)

@staticmethod
def random_thickness(thickness: Optional[int]) -> Iterator[int]:
Expand Down
1 change: 0 additions & 1 deletion augly/video/helpers/intensity.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ def remove_audio_intensity(**kwargs) -> float:
def insert_in_background_multiple_intensity(
metadata: Dict[str, Any], **kwargs
) -> float:

"""
The intensity is calculated as the percentage of the result video
that contains inserted segments.
Expand Down

0 comments on commit 0117fbe

Please sign in to comment.