Fix test failures caused by new flake8 version.

This commit is contained in:
joo 2016-11-15 00:02:02 +00:00
parent 037ca68b19
commit 37a9bb66f1
3 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,7 @@ class VarInt(Type):
if value < max_value:
return size
# Maps (maximum integer value -> size of VarInt in bytes)
VARINT_SIZE_TABLE = {
2 ** 7: 1,

View File

@ -9,6 +9,7 @@ def read(filename):
with open(filename, "r") as f:
return f.read()
MAIN_AUTHORS = ["Ammar Askar <ammar@ammaraskar.com>",
"Jeppe Klitgaard <jeppe@dapj.dk>"]

View File

@ -42,6 +42,7 @@ def get_mc_credentials():
except IOError:
return (None, None)
username, password = get_mc_credentials()