Mathics3 / mathics-core

An open-source Mathematica. This repository contains the Python modules for WL Built-in functions, variables, core primitives, e.g. Symbol, a parser to create Expressions, and an evaluator to execute them.
https://mathics.org
Other
786 stars 48 forks source link

Add CI job for mypy #1150

Closed davidar closed 4 weeks ago

davidar commented 1 month ago

I've fixed up the remaining mypy errors outside of:

For now I've just set the mypy config to ignore these directories so we can run a CI job to ensure that the other core modules continue to typecheck, but might be better to be a bit more selective.

There were also a couple bits of code I've commented out as they appeared to be dead as best I could tell, but tell me if I'm mistaken.

mmatera commented 4 weeks ago

@davidar, let's merge this when you feel it is ready