Fix spacing before '(' and '=' characters

I ran pylint2 on the code and got these errors.

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Fix indentation from 8 to 4 spaces

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Fix the gitignore

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Fix white-space in kwargs and remove trailing space

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>