sanketsaurav / lore

Undefined name detected PYL-E0602
Bug risk
Critical
2 occurrences in this check
 4from lore.util import timed
 5from lore.estimators.holt_winters.holtwinters import additive
 6
 7require(lore.dependencies.SKLEARN) 8
 9from sklearn.base import BaseEstimator
10
Undefined variable 'unicode'
288    config = configparser.SafeConfigParser()
289    if sys.version_info[0] == 2:
290        from io import StringIO
291        config.readfp(StringIO(unicode(conf)))292    else:
293        config.read_string(conf)
294    return config