ddouard (e) swh master … 2 ~/s/s/swh-provenance mypy swh swh/provenance/provenance.py:297: error: Argument 1 to "add_child" of "IsochroneNode" has incompatible type "FileEntry"; expected "DirectoryEntry" swh/provenance/provenance.py:313: error: Incompatible types in assignment (expression has type "IsochroneNode", variable has type "Union[DirectoryEntry, FileEntry]") swh/provenance/provenance.py:314: error: Item "DirectoryEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "entry" swh/provenance/provenance.py:314: error: Item "FileEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "entry" swh/provenance/provenance.py:317: error: Item "DirectoryEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "known" swh/provenance/provenance.py:317: error: Item "FileEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "known" swh/provenance/provenance.py:318: error: Item "DirectoryEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "date" swh/provenance/provenance.py:318: error: Item "FileEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "date" swh/provenance/provenance.py:320: error: Item "DirectoryEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "maxdate" swh/provenance/provenance.py:320: error: Item "FileEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "maxdate" swh/provenance/provenance.py:320: error: Item "DirectoryEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "date" swh/provenance/provenance.py:320: error: Item "FileEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "date" swh/provenance/provenance.py:323: error: Item "DirectoryEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "maxdate" swh/provenance/provenance.py:323: error: Item "FileEntry" of "Union[DirectoryEntry, FileEntry]" has no attribute "maxdate" swh/provenance/provenance.py:325: error: Argument 1 to "append" of "list" has incompatible type "Union[DirectoryEntry, FileEntry]"; expected "IsochroneNode" Found 15 errors in 1 file (checked 25 source files)