# Path: scrapcore/tools.py
# class ConfigurationError(Exception):
#     pass


from scrapcore.tools import ConfigurationError as Error
# -*- coding: utf-8 -*-


class ValidatorConfig():

    def validate(self, config):

        if not isinstance(config, dict):

# Path: scrapcore/tools.py
# class ConfigurationError(Exception):
#     pass


# Path: scrapcore/validator_config.py
from scrapcore.tools import ConfigurationError as Error

# -*- coding: utf-8 -*-


class ValidatorConfig():

    def validate(self, config):

        if not isinstance(config, dict):

            raise Error('config is not a dict')