Skip to content

Commit 7fbe005

Browse files
authored
Add isort to flake8 linting (#10)
(DIS-1789)
1 parent 3dac11d commit 7fbe005

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

dissect/ole/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from dissect.ole.exceptions import Error, InvalidFileError, NotFoundError
22
from dissect.ole.ole import OLE
33

4-
54
__all__ = [
65
"OLE",
76
"Error",

dissect/ole/c_ole.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from dissect import cstruct
22

3-
43
ole_def = """
54
typedef short OFFSET;
65
typedef ULONG SECT;

dissect/ole/ole.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
from dissect.util.ts import wintimestamp
21
from dissect.util.stream import AlignedStream
2+
from dissect.util.ts import wintimestamp
33

4-
from dissect.ole.exceptions import InvalidFileError, NotFoundError, Error
5-
from dissect.ole.c_ole import c_ole, SIGNATURE, SIGNATURE_BETA, DECOLOR, STGTY
4+
from dissect.ole.c_ole import DECOLOR, SIGNATURE, SIGNATURE_BETA, STGTY, c_ole
5+
from dissect.ole.exceptions import Error, InvalidFileError, NotFoundError
66

77

88
class OLE:

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ deps =
3939
black==23.1.0
4040
flake8
4141
flake8-black
42+
flake8-isort
4243
vermin
4344
commands =
4445
flake8 dissect setup.py

0 commit comments

Comments
 (0)