Skip to content

Instantly share code, notes, and snippets.

@nelson-liu
Created May 25, 2018 20:50
Show Gist options
  • Save nelson-liu/f94a96265973a390066f45399718fe5e to your computer and use it in GitHub Desktop.
Save nelson-liu/f94a96265973a390066f45399718fe5e to your computer and use it in GitHub Desktop.
Verifying with ['mypy']
Typechecker (mypy):
allennlp/tests/nn/decoding/simple_transition_system.py:43: error: The return type of "__init__" must be None
allennlp/tests/data/dataset_readers/lazy_dataset_reader_test.py:14: error: The return type of "__init__" must be None
allennlp/tests/common/params_test.py:58: error: Name 'B' is not defined
allennlp/tests/common/params_test.py:64: error: Name 'B' is not defined
allennlp/tests/common/params_test.py:67: error: Name 'C' is not defined
allennlp/tests/common/params_test.py:77: error: Name 'C' is not defined
allennlp/tests/commands/train_test.py:171: error: Name 'LazyTestReader' is not defined
allennlp/tests/service/server_flask_test.py:24: error: Argument 1 to "load_archive" has incompatible type "Path"; expected "str"
allennlp/tests/service/server_flask_test.py:61: error: None has no attribute "post"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment