We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23a2806 commit 3474bb2Copy full SHA for 3474bb2
1 file changed
pygmt/helpers/utils.py
@@ -181,7 +181,7 @@ def _check_encoding(
181
if encoding == "ISO-8859-12": # ISO-8859-12 was abandoned. Skip it.
182
continue
183
if all(c in (set(charset[encoding].values()) | adobe_chars) for c in argstr):
184
- return encoding
+ return encoding # type: ignore[return-value]
185
# Return the "ISOLatin1+" encoding if the string contains characters from multiple
186
# charset encodings or contains characters that are not in any charset encoding.
187
return "ISOLatin1+"
0 commit comments