Linter/mypy is failing
MyPy is currentlt complaining about
lint: commands[4]> mypy src/maicos
src/maicos/core/base.py:388: error: Accessing "__init__" on an instance is unsound, since instance.__init__ could be from an incompatible subclass [misc]
the origin is how we construct the header of our output files
header = (
f"This file was generated by {module_name} " # type: ignore
f"on {current_time}\n\n"
f"{module_name} is part of MAICoS v{__version__}\n\n"
f"Command line:"
f" {get_cli_input()}\n"
f"Module input:"
f" {module_name}{inspect.signature(self.__init__)}"
f".run({inspect.signature(self.run)})\n\n"
f"Statistics over {self._index} frames\n\n"
f"Considered atomgroups:\n"
f"{atomgroups}\n"
f"{messages}\n\n"