ufal / neuralmonkey

An open-source tool for sequence learning in NLP built on TensorFlow.
BSD 3-Clause "New" or "Revised" License
410 stars 104 forks source link

Update codebase for new lint and mypy #741

Closed jindrahelcl closed 6 years ago

jindrahelcl commented 6 years ago

Some smaller changes. Mostly removing inheritance from object. There were also some useless else statements after return, determining of emptiness of a list by len, and then some.. It was also necessary to add tensorflow.* and, more importantly, tf.* to ignored modules for the no-member warning.