From 84470105547462127afccf4a87b822dec4d4348c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 18:20:44 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- happypose/toolbox/renderer/panda3d_batch_renderer.py | 6 +++--- tests/test_renderer_bullet.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/happypose/toolbox/renderer/panda3d_batch_renderer.py b/happypose/toolbox/renderer/panda3d_batch_renderer.py index 1bd9a98f..c1ece131 100644 --- a/happypose/toolbox/renderer/panda3d_batch_renderer.py +++ b/happypose/toolbox/renderer/panda3d_batch_renderer.py @@ -115,9 +115,9 @@ def worker_loop( rgb=renderings_.rgb, normals=renderings_.normals if render_args.render_normals else None, depth=renderings_.depth if render_args.render_depth else None, - binary_mask=renderings_.binary_mask - if render_args.render_binary_mask - else None, + binary_mask=( + renderings_.binary_mask if render_args.render_binary_mask else None + ), ) del render_args out_queue.put(output) diff --git a/tests/test_renderer_bullet.py b/tests/test_renderer_bullet.py index a0285471..efb02d7c 100644 --- a/tests/test_renderer_bullet.py +++ b/tests/test_renderer_bullet.py @@ -1,4 +1,5 @@ """Set of unit tests for bullet renderer.""" + import unittest from pathlib import Path