@@ -78,6 +78,7 @@ test = [
7878 " deepdiff>=5.0.2" ,
7979 " hypothesis>=5.49.0" ,
8080 " lxml>=4.3.0" ,
81+ " lxml-stubs>=0.4.0" ,
8182 " mypy>=0.971" ,
8283 " pytest>=6.0.0" ,
8384 " pytest-cov>=3.0.0" ,
@@ -87,6 +88,7 @@ test = [
8788 " pyqtgraph>=0.11.0" , # pyqtgraph tests
8889 " PyQt5>=5.15.0" , # pyqtgraph tests
8990 " PyVisa-sim>=0.4.0" ,
91+ " slack-sdk>=3.4.2" , # needed to typecheck slack extension
9092 " sphinx>=4.5.0" , # sphinx extension tests
9193 " types_requests>=0.1.8" ,
9294 " types-setuptools>=57.0.0" ,
@@ -134,7 +136,6 @@ profile = "black"
134136strict_optional = true
135137disallow_untyped_decorators = true
136138disallow_any_generics = false
137- ignore_missing_imports = true
138139show_column_numbers = true
139140warn_unused_ignores = true
140141warn_unused_configs = true
@@ -165,6 +166,43 @@ module = [
165166]
166167disallow_untyped_defs = false
167168
169+ # these are packages that we import
170+ # but either don't have stubs or we
171+ # dont have them installed.
172+ [[tool .mypy .overrides ]]
173+ module = [
174+ " broadbean.*" , # can be removed once broadbean 0.11 is available
175+ " clr" ,
176+ " deepdiff" ,
177+ " gclib" ,
178+ " IPython.*" ,
179+ " ipywidgets" ,
180+ " h5py" ,
181+ " h5netcdf" ,
182+ " hickle" ,
183+ " jsonschema" ,
184+ " lomentum.tools" ,
185+ " matplotlib.*" ,
186+ " mcl_RF_Switch_Controller64" ,
187+ " opencensus.ext.azure.*" ,
188+ " pandas.*" ,
189+ " pythoncom" ,
190+ " pyqtgraph.*" ,
191+ " pywinusb.*" ,
192+ " ruamel" ,
193+ " spyder.utils.site" ,
194+ " spyder_kernels.customize" ,
195+ " System.IO" ,
196+ " tqdm.*" ,
197+ " uncertainties" ,
198+ " win32com.*" ,
199+ " win32con" ,
200+ " win32gui" ,
201+ " wrapt" ,
202+ " zhinst.qcodes" ,
203+ ]
204+ ignore_missing_imports = true
205+
168206[tool .pytest .ini_options ]
169207minversion = " 6.0"
170208junit_family = " legacy"
0 commit comments