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:
|
||||
import ujson as json
|
||||
except ImportError:
|
||||
import json
|
||||
# see mypy/issues/1153
|
||||
import json # type: ignore
|
||||
import inspect
|
||||
import logging
|
||||
import os
|
||||
|
Loading…
Reference in New Issue
Block a user