Add pep8 config, use pep8 in travis

also, fix E111-E113 errors:
E111 - indentation is not a multiple of four
E112 - expected an indented block
E113 - unexpected indentation

Am 29.12.2014 um 11:24 schrieb Sergey B Kirpichev:
>> @@ -0,0 +1,12 @@
>> +[pep8]
>> +# E101 - indentation contains mixed spaces and tabs
>> +# W191 - indentation contains tabs
>> +# W291 - trailing whitespace
>> +# W293 - blank line contains whitespace
>> +# E111 - indentation is not a multiple of four
>> +# E112 - expected an indented block
>> +# E113 - unexpected indentation
>
>> Seems like pep8.py is still being changed.
>
> I.e. PyDev's version has own patches?

I suspect it's a slightly outdated version.
I recently found out that pep8.py is constantly being updated; any 
project that uses it should probably select a specific version and 
configuration and stick to it, pep8 checking from the plugin is unlikely 
to be better than a smoke test before running the test suite.

>> Seems like the builtin pep8 checking in PyDev isn't what we'd need because it's not the same version.
>
> I think, you could update this tool.

I haven't found a way to find out what pep8.py version PyDev is using, 
much less how to configure for an alternative pep8.py.

However, I found that I had inadvertently activated pep8 checking and 
disabled it, getting me down to 9,500 messages. Which is far better than 
the previous 50,000 I guess ;-]