Skip to content

Commit f13b975

Browse files
committed
Fix typing issues
1 parent 3e89120 commit f13b975

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hexkit/providers/akafka/testcontainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def create_file(self, content: bytes, path: str) -> None:
151151
with tarfile.TarFile(fileobj=archive, mode="w") as tar:
152152
tarinfo = tarfile.TarInfo(name=path)
153153
tarinfo.size = len(content)
154-
tarinfo.mtime = time.time() # type: ignore
154+
tarinfo.mtime = time.time()
155155
tar.addfile(tarinfo, BytesIO(content))
156156
archive.seek(0)
157157
self.get_wrapped_container().put_archive("/", archive)

tests/unit/test_dlqsub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ async def test_outbox_with_dlq(kafka: KafkaFixture, event_type: str):
588588
await dlq_sub.run()
589589

590590
# Retry the event after clearing the list
591-
list_to_check.clear() # type: ignore
591+
list_to_check.clear()
592592
translator.fail = False
593593
assert not list_to_check
594594
await outbox_sub.run(forever=False)

0 commit comments

Comments
 (0)