Skip to content

Commit

Permalink
Add isort to flake8 linting (#10)
Browse files Browse the repository at this point in the history
(DIS-1789)
  • Loading branch information
pyrco authored Feb 7, 2023
1 parent 27de18b commit e865b6c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
8 changes: 7 additions & 1 deletion dissect/vmfs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
from dissect.vmfs.exceptions import Error, FileNotFoundError, InvalidHeader, NotADirectoryError, NotASymlinkError
from dissect.vmfs.exceptions import (
Error,
FileNotFoundError,
InvalidHeader,
NotADirectoryError,
NotASymlinkError,
)
from dissect.vmfs.lvm import LVM, Extent
from dissect.vmfs.vmfs import VMFS

Expand Down
1 change: 0 additions & 1 deletion dissect/vmfs/c_vmfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from dissect import cstruct


vmfs_def = """
/* === System file addresses === */
Expand Down
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import gzip
import os

import pytest


Expand Down
2 changes: 1 addition & 1 deletion tests/test_address.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from unittest.mock import Mock

from dissect.vmfs.resource import address_type, address_fmt
from dissect.vmfs.c_vmfs import ResourceType
from dissect.vmfs.resource import address_fmt, address_type


def test_address_type():
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 e865b6c

Please sign in to comment.