Skip to content

Commit b443500

Browse files
committed
mypy ignores
1 parent 48ed7c9 commit b443500

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extras/fileformats/extras/application/medical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
try:
1010
import pydicom.tag
1111
except ImportError:
12-
pydicom = None
12+
pydicom = None # type: ignore[assignment]
1313
try:
1414
import medimages4tests.dummy.dicom.mri.t1w.siemens.skyra.syngo_d13c
1515
except ImportError:
16-
medimages4tests = None
16+
medimages4tests = None # type: ignore[assignment]
1717

1818
if sys.version_info <= (3, 11):
1919
from typing_extensions import TypeAlias

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" # type: ignore[assignment]
12+
iana_mime = "application/dicom"
1313
magic_number = b"DICM"
1414
magic_number_offset = 128
1515
binary = True

0 commit comments

Comments
 (0)