Skip to content

Commit

Permalink
Add isort to flake8 linting (#13)
Browse files Browse the repository at this point in the history
(DIS-1789)
  • Loading branch information
pyrco authored Feb 7, 2023
1 parent 1037ad3 commit f9b0271
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion dissect/clfs/c_clfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# External dependencies
from dissect.cstruct import cstruct


clfs_def = """
/* ======== Generic Windows ======== */
flag FILE_ATTRIBUTES : USHORT {
Expand Down
1 change: 0 additions & 1 deletion tests/test_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Local imports
from dissect.clfs.container import Container


Data = namedtuple("Data", ["offset", "r_data", "b_data"])


Expand Down
3 changes: 2 additions & 1 deletion tests/test_control_record.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import pytest

from dissect.clfs.blf import BLF

# Local imports
from dissect.clfs.c_clfs import c_clfs
from dissect.clfs.blf import BLF
from dissect.clfs.exceptions import InvalidRecordBlockError


Expand Down
2 changes: 1 addition & 1 deletion tests/test_record_header.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Local imports
from dissect.clfs.c_clfs import c_clfs, BlockHeader
from dissect.clfs.c_clfs import BlockHeader, c_clfs


def test_record_header_c_definitions(control_record_blf):
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 f9b0271

Please sign in to comment.