Skip to content

Commit

Permalink
Add isort to flake8 linting (#12)
Browse files Browse the repository at this point in the history
(DIS-1789)
  • Loading branch information
pyrco committed Feb 7, 2023
1 parent 58ac747 commit b288c5b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
3 changes: 1 addition & 2 deletions dissect/evidence/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from dissect.evidence.asdf.asdf import AsdfSnapshot, AsdfStream
from dissect.evidence.ewf import EWF

from dissect.evidence.asdf.asdf import AsdfStream, AsdfSnapshot

__all__ = [
"AsdfSnapshot",
"AsdfStream",
Expand Down
2 changes: 1 addition & 1 deletion dissect/evidence/ad1.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import zlib

from dissect import cstruct
from dissect.util.stream import RelativeStream, AlignedStream
from dissect.util.stream import AlignedStream, RelativeStream

ad1_def = """
enum EntryType : uint32 {
Expand Down
4 changes: 2 additions & 2 deletions dissect/evidence/ewf.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from __future__ import print_function

import logging
import os
import zlib
import logging
from pathlib import Path
from bisect import bisect_right
from functools import lru_cache
from pathlib import Path

from dissect import cstruct
from dissect.util.stream import AlignedStream
Expand Down
10 changes: 5 additions & 5 deletions dissect/evidence/tools/asdf/meta.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import argparse
import datetime
import hashlib
import io
import sys
import stat
import shutil
import hashlib
import datetime
import argparse
import stat
import sys

from dissect.evidence.asdf import asdf

Expand Down
1 change: 1 addition & 0 deletions tests/test_ad1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import hashlib

from dissect.evidence import ad1


Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ deps =
black==23.1.0
flake8
flake8-black
flake8-isort
vermin
commands =
flake8 dissect tests setup.py
Expand Down

0 comments on commit b288c5b

Please sign in to comment.