junhyukoh / self-imitation-learning

ICML 2018 Self-Imitation Learning
MIT License
274 stars 41 forks source link

Missing imports: os, pandas, uuid #1

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

flake8 testing of https://github.com/junhyukoh/self-imitation-learning on Python 3.6.3

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

./baselines/bench/monitor.py:142:55: F821 undefined name 'uuid'
    mon_file = "/tmp/baselines-test-%s.monitor.csv" % uuid.uuid4()
                                                      ^
./baselines/bench/monitor.py:158:20: F821 undefined name 'pandas'
    last_logline = pandas.read_csv(f, index_col=None)
                   ^
./baselines/bench/monitor.py:161:5: F821 undefined name 'os'
    os.remove(mon_file)    ^
3     F821 undefined name 'uuid'
3