compilers/mixins/islinker: Make type safe

pull/7786/head
Dylan Baker 4 years ago
parent 8ee1e6b768
commit 6dc774f1b6
  1. 4
      mesonbuild/compilers/mixins/islinker.py
  2. 1
      run_mypy.py

@ -38,6 +38,10 @@ class BasicLinkerIsCompilerMixin:
functionality itself.
"""
if T.TYPE_CHECKING:
exelist = [] # type: T.List[str]
id = ''
def sanitizer_link_args(self, value: str) -> T.List[str]:
return []

@ -25,6 +25,7 @@ modules = [
'mesonbuild/compilers/mixins/emscripten.py',
'mesonbuild/compilers/mixins/gnu.py',
'mesonbuild/compilers/mixins/intel.py',
'mesonbuild/compilers/mixins/islinker.py',
# 'mesonbuild/coredata.py',
'mesonbuild/dependencies/boost.py',
'mesonbuild/dependencies/hdf5.py',

Loading…
Cancel
Save