Skip to content

Commit 141b4fb

Browse files
committed
Fix linting issues
1 parent 035cb59 commit 141b4fb

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/isal/igzip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def __repr__(self):
122122
def flush(self, zlib_mode=isal_zlib.Z_SYNC_FLUSH):
123123
super().flush(zlib_mode)
124124

125-
def _write_gzip_header(self, compresslevel = _COMPRESS_LEVEL_TRADEOFF):
125+
def _write_gzip_header(self, compresslevel=_COMPRESS_LEVEL_TRADEOFF):
126126
# Determine what xfl flag is written for the compression level.
127127
# Equate the fast level to gzip level 1. All the other levels are
128128
# medium.

tests/test_gzip_compliance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from subprocess import PIPE, Popen
2929
from test import support
3030
from test.support import _4G, bigmemtest
31-
from test.support.script_helper import assert_python_ok, assert_python_failure
31+
from test.support.script_helper import assert_python_failure, assert_python_ok
3232

3333
from isal import igzip
3434

tests/test_zlib_compliance.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
1212
1313
"""
14-
import functools
15-
import os
16-
import unittest
17-
from test import support
1814
import binascii
1915
import copy
16+
import functools
17+
import os
2018
import pickle
2119
import random
2220
import sys
23-
from test.support import bigmemtest, _1G, _4G
21+
import unittest
22+
from test import support
23+
from test.support import _1G, _4G, bigmemtest
2424

2525
import isal
2626
from isal import isal_zlib

0 commit comments

Comments
 (0)