[ISSUE-3/4] Adds test container and tooling (#8)

* Adding black, isort, and flake8 to pytest

* Applying black, flake8, and isort to codebase
This commit is contained in:
Kyle Harrison
2019-07-29 13:19:03 +01:00
committed by Ajurna
parent 03a80b2458
commit b4d1c4c2cb
27 changed files with 156 additions and 54 deletions

View File

@@ -83,12 +83,15 @@ __all__ = ["is_rarfile", "RarInfo", "RarFile", "RarExtFile"]
## Imports and compat - support both Python 2.x and 3.x
##
import sys, os, struct, errno
from struct import pack, unpack
import errno
import os
import struct
import sys
from binascii import crc32
from tempfile import mkstemp
from subprocess import Popen, PIPE, STDOUT
from datetime import datetime
from struct import pack, unpack
from subprocess import PIPE, STDOUT, Popen
from tempfile import mkstemp
# only needed for encryped headers
try: