From 615b8cc01b3347da6536cc3c73303a27bc623135 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 2 Jul 2024 10:37:46 +0100 Subject: [PATCH] Ignore mypy in files with numpy --- tests/scipy-notebook/data/matplotlib/matplotlib_1.py | 1 + tests/scipy-notebook/units/unit_pandas.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/scipy-notebook/data/matplotlib/matplotlib_1.py b/tests/scipy-notebook/data/matplotlib/matplotlib_1.py index 8ccf369e..a7d98fbb 100644 --- a/tests/scipy-notebook/data/matplotlib/matplotlib_1.py +++ b/tests/scipy-notebook/data/matplotlib/matplotlib_1.py @@ -1,3 +1,4 @@ +# type: ignore # Matplotlib: Create a simple plot example. # Refs: https://matplotlib.org/stable/gallery/lines_bars_and_markers/simple_plot.html diff --git a/tests/scipy-notebook/units/unit_pandas.py b/tests/scipy-notebook/units/unit_pandas.py index 2190a0b5..a211de50 100644 --- a/tests/scipy-notebook/units/unit_pandas.py +++ b/tests/scipy-notebook/units/unit_pandas.py @@ -1,5 +1,6 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. +# type: ignore import numpy as np import pandas as pd