This adds a condition to decompressing a chunk while downloading since
passing an empty chunk causes the decompressor to raise an exception if
it's already reached the end of a stream.
The second commit adds a tox.ini and fixes the formatting issues. With this series all tests should pass.
This adds a condition to decompressing a chunk while downloading since
passing an empty chunk causes the decompressor to raise an exception if
it's already reached the end of a stream.
The second commit adds a tox.ini and fixes the formatting issues. With this series all tests should pass.