mypy doesn't handle common idiomacy so disable the line (see the open issue more details)
This commit is contained in:
parent
cdd8cc551c
commit
cb2fff8909
@ -4,7 +4,8 @@ import gzip
|
|||||||
try:
|
try:
|
||||||
import ujson as json
|
import ujson as json
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import json
|
# see mypy/issues/1153
|
||||||
|
import json # type: ignore
|
||||||
import inspect
|
import inspect
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
Loading…
Reference in New Issue
Block a user