server/general: embrace most of PEP8

Ignored only the rules about continuing / hanging indentation.

Also, added __init__.py to tests so that pylint discovers them. (I don't
buy pytest's BS about installing your package.)
This commit is contained in:
rr-
2016-08-14 14:22:53 +02:00
parent af62f8c45a
commit 9aea55e3d1
129 changed files with 2251 additions and 1077 deletions

View File

@ -8,11 +8,26 @@ good-names=ex,_,logger
dummy-variables-rgx=_|dummy
[format]
max-line-length=90
max-line-length=79
[messages control]
disable=missing-docstring,no-self-use,too-few-public-methods,multiple-statements
reports=no
disable=
# we're not java
missing-docstring,
# covered better by pycodestyle
bad-continuation,
# we're adults
redefined-builtin,
duplicate-code,
too-many-return-statements,
too-many-arguments,
# plain stupid
no-self-use,
too-few-public-methods
[typecheck]
generated-members=add|add_all