Closed cclauss closed 6 years ago
total is an undefined name in this context.
flake8 testing of https://github.com/openai/deeptype on Python 3.6.4
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./extraction/evolve_type_system.py:99:34: F821 undefined name 'total' return (greedy_correct / total, ^ ./extraction/evolve_type_system.py:100:34: F821 undefined name 'total' greedy_correct / total) ^
Typo, thanks for pointing this out :) fixed now
total is an undefined name in this context.
flake8 testing of https://github.com/openai/deeptype on Python 3.6.4
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics