ci(tests): disable matplotlib GUI and exclude non-test dirs from collection (#2262)

This commit is contained in:
Jirka Borovec
2026-05-20 23:40:21 +02:00
committed by GitHub
parent 17d7717515
commit e7376d558e
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -208,6 +208,7 @@ ini_options.addopts = [
"--color=yes",
]
ini_options.doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
ini_options.norecursedirs = [ "examples", "docs", "notebooks", ".venv", ".git", "dist", "build" ]
[tool.autoflake]
check = true
+3
View File
@@ -1,6 +1,9 @@
import matplotlib
import numpy as np
import pytest
matplotlib.use("Agg")
import supervision as sv
from tests.helpers import _create_key_points