Open
Description
class Atoms: # type: ignore[no-redef]
def __init__(self, *args, **kwargs):
raise NO_ASE_ERR
In my code I would then have ""pymatgen.io.ase.Atoms" is not assignable to "ase.atoms.Atoms"" everywhere, because the type checker is confused about the redefinition. Is it really necessary to have this DummyClass defined there?
Metadata
Assignees
Labels
No labels
Activity