Skip to content

Commit 4aaecaa

Browse files
Remove coverage check for StrEnums
1 parent 445cbcc commit 4aaecaa

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pydantic_extra_types/mime_types.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from enum import StrEnum
33

44

5-
class Application(StrEnum):
5+
class Application(StrEnum): # pragma: no cover
66
APPLICATION_1D_INTERLEAVED_PARITYFEC = 'application/1d-interleaved-parityfec'
77
APPLICATION_3GPDASH_QOE_REPORT_XML = 'application/3gpdash-qoe-report+xml'
88
APPLICATION_3GPPHAL_JSON = 'application/3gppHal+json'
@@ -1868,7 +1868,7 @@ class Application(StrEnum):
18681868
APPLICATION_ZSTD = 'application/zstd'
18691869

18701870

1871-
class Audio(StrEnum):
1871+
class Audio(StrEnum): # pragma: no cover
18721872
AUDIO_1D_INTERLEAVED_PARITYFEC = 'audio/1d-interleaved-parityfec'
18731873
AUDIO_32KADPCM = 'audio/32kadpcm'
18741874
AUDIO_3GPP = 'audio/3gpp'
@@ -2032,7 +2032,7 @@ class Audio(StrEnum):
20322032
AUDIO_VORBIS_CONFIG = 'audio/vorbis-config'
20332033

20342034

2035-
class Font(StrEnum):
2035+
class Font(StrEnum): # pragma: no cover
20362036
FONT_COLLECTION = 'font/collection'
20372037
FONT_OTF = 'font/otf'
20382038
FONT_SFNT = 'font/sfnt'
@@ -2041,13 +2041,13 @@ class Font(StrEnum):
20412041
FONT_WOFF2 = 'font/woff2'
20422042

20432043

2044-
class Haptics(StrEnum):
2044+
class Haptics(StrEnum): # pragma: no cover
20452045
HAPTICS_IVS = 'haptics/ivs'
20462046
HAPTICS_HJIF = 'haptics/hjif'
20472047
HAPTICS_HMPG = 'haptics/hmpg'
20482048

20492049

2050-
class Image(StrEnum):
2050+
class Image(StrEnum): # pragma: no cover
20512051
IMAGE_ACES = 'image/aces'
20522052
IMAGE_APNG = 'image/apng'
20532053
IMAGE_AVCI = 'image/avci'
@@ -2136,7 +2136,7 @@ class Image(StrEnum):
21362136
IMAGE_X_WMF_DEPRECATED_IN_FAVOR_OF_IMAGE_WMF = 'image/x-wmf'
21372137

21382138

2139-
class Message(StrEnum):
2139+
class Message(StrEnum): # pragma: no cover
21402140
MESSAGE_BHTTP = 'message/bhttp'
21412141
MESSAGE_CPIM = 'message/CPIM'
21422142
MESSAGE_DELIVERY_STATUS = 'message/delivery-status'
@@ -2164,7 +2164,7 @@ class Message(StrEnum):
21642164
MESSAGE_VND_WFA_WSC = 'message/vnd.wfa.wsc'
21652165

21662166

2167-
class Model(StrEnum):
2167+
class Model(StrEnum): # pragma: no cover
21682168
MODEL_3MF = 'model/3mf'
21692169
MODEL_E57 = 'model/e57'
21702170
MODEL_EXAMPLE = 'model/example'
@@ -2208,7 +2208,7 @@ class Model(StrEnum):
22082208
MODEL_X3D_XML = 'model/x3d+xml'
22092209

22102210

2211-
class Multipart(StrEnum):
2211+
class Multipart(StrEnum): # pragma: no cover
22122212
MULTIPART_ALTERNATIVE = 'multipart/alternative'
22132213
MULTIPART_APPLEDOUBLE = 'multipart/appledouble'
22142214
MULTIPART_BYTERANGES = 'multipart/byteranges'
@@ -2228,7 +2228,7 @@ class Multipart(StrEnum):
22282228
MULTIPART_X_MIXED_REPLACE = 'multipart/x-mixed-replace'
22292229

22302230

2231-
class Text(StrEnum):
2231+
class Text(StrEnum): # pragma: no cover
22322232
TEXT_1D_INTERLEAVED_PARITYFEC = 'text/1d-interleaved-parityfec'
22332233
TEXT_CACHE_MANIFEST = 'text/cache-manifest'
22342234
TEXT_CALENDAR = 'text/calendar'
@@ -2329,7 +2329,7 @@ class Text(StrEnum):
23292329
TEXT_XML_EXTERNAL_PARSED_ENTITY = 'text/xml-external-parsed-entity'
23302330

23312331

2332-
class Video(StrEnum):
2332+
class Video(StrEnum): # pragma: no cover
23332333
VIDEO_1D_INTERLEAVED_PARITYFEC = 'video/1d-interleaved-parityfec'
23342334
VIDEO_3GPP = 'video/3gpp'
23352335
VIDEO_3GPP2 = 'video/3gpp2'

0 commit comments

Comments
 (0)