openai / gym-soccer

305 stars 172 forks source link

from gym import error in soccer_empty_goal.py #10

Closed cclauss closed 4 years ago

cclauss commented 6 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