aboutsummaryrefslogtreecommitdiff
path: root/venv/lib/python3.8/site-packages/plotly/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'venv/lib/python3.8/site-packages/plotly/conftest.py')
-rw-r--r--venv/lib/python3.8/site-packages/plotly/conftest.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/venv/lib/python3.8/site-packages/plotly/conftest.py b/venv/lib/python3.8/site-packages/plotly/conftest.py
new file mode 100644
index 0000000..1e1361d
--- /dev/null
+++ b/venv/lib/python3.8/site-packages/plotly/conftest.py
@@ -0,0 +1,24 @@
+import os
+
+
+def pytest_ignore_collect(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",
+ ]
+ if (
+ os.path.basename(str(path)) in ignored_paths
+ or "plotly/plotly/plotly/__init__.py" in str(path)
+ or "plotly/api/utils.py" in str(path)
+ ):
+ return True