imitation icon indicating copy to clipboard operation
imitation copied to clipboard

Fix mypy type erorrs in skipped files

Open AdamGleave opened this issue 3 years ago • 0 comments

Bug description

Some files are failing mypy type checks (but passing on pytype) and being skipped by EXCLUDE_MYPY in .circleci/config.yml introduced in https://github.com/HumanCompatibleAI/imitation/pull/534 We should fix these errors, by ignoring spurious errors and for true-positive errors refactoring the code or adding assert checks where appropriate.

Steps to reproduce

Run mypy on the excluded files

Environment

AdamGleave avatar Oct 07 '22 00:10 AdamGleave