google-research / planet

Learning Latent Dynamics for Planning from Pixels
https://danijar.com/planet
Apache License 2.0
1.18k stars 202 forks source link

import sys for lines 42 and 58 #1

Closed cclauss closed 5 years ago

cclauss commented 5 years ago

flake8 testing of https://github.com/google-research/planet on Python 3.7.1

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./planet/scripts/test_planet.py:40:45: F821 undefined name 'sys'
    tf.app.run(lambda _: train.main(args), [sys.argv[0]])
                                            ^
./planet/scripts/test_planet.py:56:45: F821 undefined name 'sys'
    tf.app.run(lambda _: train.main(args), [sys.argv[0]])
                                            ^
2     F821 undefined name 'sys'
2
danijar commented 5 years ago

Thanks for the patch! Sorry for not merging. I had already incorporated it.