Add mypy ignore for CI.

This commit is contained in:
Mikaël Capelle
2020-11-14 13:49:50 +01:00
parent 9fa09d1b88
commit a203ee8215
+2 -2
View File
@@ -51,8 +51,8 @@ def load_mobase(path: Path, moprivate: bool = False):
[str(path), str(path.joinpath("dlls")), os.environ.get("PATH", "")]
)
else:
os.add_dll_directory(str(path))
os.add_dll_directory(str(path.joinpath("dlls")))
os.add_dll_directory(str(path)) # type: ignore[attr-defined]
os.add_dll_directory(str(path.joinpath("dlls"))) # type: ignore[attr-defined]
# We need to add plugins/data to sys.path, mainly for PyQt5
sys.path.insert(1, path.joinpath("plugins", "data").as_posix())