mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2025-02-01 20:41:23 +01:00
Fix test failures caused by new flake8 version.
This commit is contained in:
parent
037ca68b19
commit
37a9bb66f1
@ -110,6 +110,7 @@ class VarInt(Type):
|
|||||||
if value < max_value:
|
if value < max_value:
|
||||||
return size
|
return size
|
||||||
|
|
||||||
|
|
||||||
# Maps (maximum integer value -> size of VarInt in bytes)
|
# Maps (maximum integer value -> size of VarInt in bytes)
|
||||||
VARINT_SIZE_TABLE = {
|
VARINT_SIZE_TABLE = {
|
||||||
2 ** 7: 1,
|
2 ** 7: 1,
|
||||||
|
1
setup.py
1
setup.py
@ -9,6 +9,7 @@ def read(filename):
|
|||||||
with open(filename, "r") as f:
|
with open(filename, "r") as f:
|
||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
|
|
||||||
MAIN_AUTHORS = ["Ammar Askar <ammar@ammaraskar.com>",
|
MAIN_AUTHORS = ["Ammar Askar <ammar@ammaraskar.com>",
|
||||||
"Jeppe Klitgaard <jeppe@dapj.dk>"]
|
"Jeppe Klitgaard <jeppe@dapj.dk>"]
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ def get_mc_credentials():
|
|||||||
except IOError:
|
except IOError:
|
||||||
return (None, None)
|
return (None, None)
|
||||||
|
|
||||||
|
|
||||||
username, password = get_mc_credentials()
|
username, password = get_mc_credentials()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user