Closed cclauss closed 4 years ago
error is used on line 9 but it is never imported.
flake8 testing of https://github.com/openai/gym-soccer on Python 3.6.3
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./gym_soccer/envs/soccer_empty_goal.py:8:11: F821 undefined name 'error' raise error.DependencyNotInstalled("{}. (HINT: you can install HFO dependencies with 'pip install gym[soccer].)'".format(e)) ^ 1 F821 undefined name 'error' 1
error is used on line 9 but it is never imported.
flake8 testing of https://github.com/openai/gym-soccer on Python 3.6.3
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics