AIcrowd / real_robots

Gym environments for Robots that learn to interact with the environment autonomously
https://www.aicrowd.com/challenges/neurips-2019-robot-open-ended-autonomous-learning
MIT License
34 stars 18 forks source link

Fix flake8 errors #3

Closed spMohanty closed 5 years ago

spMohanty commented 5 years ago

We need to fix all flake8 errors ASAP.

git clone git@github.com:AIcrowd/real_robots.git
cd real_robots
pip install -e .
pip install requirements_dev.txt

flake8 .

should throw a lot of errors along the lines of :

./setup.py:15:1: E302 expected 2 blank lines, found 1
./setup.py:41:80: E501 line too long (82 > 79 characters)
./real_robots/__init__.py:12:1: F401 '.evaluate.evaluate' imported but unused
./real_robots/__init__.py:15:5: E128 continuation line under-indented for visual indent
./real_robots/__init__.py:16:1: E124 closing bracket does not match visual indentation
./real_robots/__init__.py:19:5: E128 continuation line under-indented for visual indent
./real_robots/__init__.py:20:1: E124 closing bracket does not match visual indentation
./real_robots/__init__.py:30:1: E302 expected 2 blank lines, found 1
...
...
and so on

all of them have to be individually dealt with to ensure we have a clean and maintainable code base.

spMohanty commented 5 years ago

Fixed with https://github.com/AIcrowd/real_robots/pull/4