@staticmethod
    def get_media_queries():
        media_queries = settings.RESPONSIVE_MEDIA_QUERIES
        for name, config in six.iteritems(media_queries):
            for attr in ('min_width', 'max_width', 'min_height', 'max_height', 'pixel_ratio'):
                if config not in attr:
                    config[attr] = None
                elif config[attr] is not None:
                    try:
                        config[attr] = int(config[attr]) if attr != 'pixel_ratio' \
                            else float(config[attr])
                    except ValueError:
                        raise ImproperlyConfigured(
                            'RESPONSIVE_MEDIA_QUERIES - %s for %s breakpoint must '
                            'be a number.' % (attr, name))
                else:
                    media_queries[name][attr] = config[attr]
        return media_queries
dataset/ETHPy150Open mishbahr/django-responsive2/responsive/utils.py/Device.get_media_queries/swapped operands of `not in`