Skip to content

Commit

Permalink
Update style and pin on black v23.1.0 (#12)
Browse files Browse the repository at this point in the history
(DIS-1802)
  • Loading branch information
pyrco authored Feb 3, 2023
1 parent 6f9b92e commit 1037ad3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion dissect/clfs/blf.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ class TruncateRecord:
"""

def __init__(self, fh: BinaryIO, offset: int):

try:
self.logblock = BlockHeader(fh=fh, offset=offset)
except EOFError:
Expand Down
2 changes: 0 additions & 2 deletions tests/test_control_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def test_control_record_c_definitions(control_record_blf):


def test_control_record_blf(control_record_blf):

blf = BLF(fh=control_record_blf)

assert blf.c_record.record.RecordHeader.DumpCount == 0x1
Expand All @@ -47,6 +46,5 @@ def test_control_record_blf(control_record_blf):


def test_control_record_fail(bad_control_record_blf):

with pytest.raises(InvalidRecordBlockError):
BLF(fh=bad_control_record_blf)
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ commands =
# implementations, so we pick one.
basepython = python3
deps =
black==23.1.0
flake8
flake8-black
vermin
Expand Down

0 comments on commit 1037ad3

Please sign in to comment.