From c817f5381cebc68475c5a96b5698a9f29f42178e Mon Sep 17 00:00:00 2001 From: Daniel Gatis Date: Sun, 11 May 2025 11:03:47 -0300 Subject: [PATCH] fix linter issues --- rembg/bg.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/rembg/bg.py b/rembg/bg.py index 1a0b8ef..554096a 100644 --- a/rembg/bg.py +++ b/rembg/bg.py @@ -5,8 +5,14 @@ from typing import Any, List, Optional, Tuple, Union, cast import numpy as np import onnxruntime as ort -from cv2 import (BORDER_DEFAULT, MORPH_ELLIPSE, MORPH_OPEN, GaussianBlur, - getStructuringElement, morphologyEx) +from cv2 import ( + BORDER_DEFAULT, + MORPH_ELLIPSE, + MORPH_OPEN, + GaussianBlur, + getStructuringElement, + morphologyEx, +) from PIL import Image, ImageOps from PIL.Image import Image as PILImage from pymatting.alpha.estimate_alpha_cf import estimate_alpha_cf