Skip to content

Commit 48ed7c9

Browse files
committed
mypy issues
1 parent 70e57f8 commit 48ed7c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extras/fileformats/extras/vendor/openxmlformats_officedocument/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
try:
44
import docx.document
55
except ImportError:
6-
docx = None
6+
docx = None # type: ignore[assignment]
77

88
from fileformats.core import FileSet, extra_implementation
99
from fileformats.extras.core import check_optional_dependency

fileformats/application/medical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class Dicom(WithMagicNumber, BinaryFile):
1111

12-
iana_mime = "application/dicom"
12+
iana_mime = "application/dicom" # type: ignore[assignment]
1313
magic_number = b"DICM"
1414
magic_number_offset = 128
1515
binary = True

0 commit comments

Comments
 (0)