forked from plotly/plotly.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconftest.py
More file actions
26 lines (24 loc) · 681 Bytes
/
conftest.py
File metadata and controls
26 lines (24 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import os
from pathlib import Path
def pytest_ignore_collect(collection_path: Path):
# Ignored files, most of them are raising a chart studio error
ignored_paths = [
"exploding_module.py",
"chunked_requests.py",
"v2.py",
"v1.py",
"presentation_objs.py",
"widgets.py",
"dashboard_objs.py",
"grid_objs.py",
"config.py",
"presentation_objs.py",
"session.py",
]
path_str = str(collection_path)
if (
collection_path.name in ignored_paths
or "plotly/plotly/plotly/__init__.py" in path_str
or "plotly/api/utils.py" in path_str
):
return True