chore: suppress uniface scikit-image FutureWarnings in CLI
This commit is contained in:
parent
bdcb2b685e
commit
00aaadf1ea
1 changed files with 4 additions and 0 deletions
|
|
@ -5,8 +5,12 @@ import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
import tempfile
|
||||||
|
import warnings
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
# Suppress FutureWarnings from dependencies (like scikit-image in uniface)
|
||||||
|
warnings.simplefilter(action="ignore", category=FutureWarning)
|
||||||
|
|
||||||
import cv2
|
import cv2
|
||||||
import questionary
|
import questionary
|
||||||
from rich.console import Console
|
from rich.console import Console
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue