ci(tests): disable matplotlib GUI and exclude non-test dirs from collection (#2262)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user