brocksam / pycollo

General-purpose optimal control, trajectory optimisation and parameter optimisation using direct collocation
https://brocksam.github.io/pycollo/
MIT License
8 stars 3 forks source link

Fix mypy static type checking errors #60

Open brocksam opened 1 year ago

brocksam commented 1 year ago

Type checking the source code with mypy currently results in multiple errors.

brocksam commented 1 year ago

For untyped dependencies, e.g. matplotlib, can use:

[tool.mypy-matplotlib.*]
ignore_missing_imports = true

instead of:

[tool.mypy]
ignore_missing_imports = true