<commit_before>import sys

from setuptools import setup
from setuptools.command.test import test as TestCommand


class PyTest(TestCommand):

    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        #import here, cause outside the eggs aren't loaded
        import pytest

        sys.exit(pytest.main(self.test_args))


setup(
    name="Flask-Redistore",
    version="1.0",
    url="",
    license="BSD",
    author="<NAME>",
    author_email="<EMAIL>",
    description="Adds Redis support to your Flask applications",
    long_description=open("README.rst").read(),
    py_modules=["flask_redistore"],
    zip_safe=False,
    include_package_data=True,
    platforms="any",
    install_requires=[
        "Flask",
        "redis",
    ],
    extras_require={"tests": ["pytest"]},
    tests_require=["pytest"],
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    cmdclass={"test": PyTest},
)<commit_msg>Add pretend to the test requirements<commit_after>import sys

from setuptools import setup
from setuptools.command.test import test as TestCommand


class PyTest(TestCommand):

    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        #import here, cause outside the eggs aren't loaded
        import pytest

        sys.exit(pytest.main(self.test_args))


setup(
    name="Flask-Redistore",
    version="1.0",
    url="",
    license="BSD",
    author="<NAME>",
    author_email="<EMAIL>",
    description="Adds Redis support to your Flask applications",
    long_description=open("README.rst").read(),
    py_modules=["flask_redistore"],
    zip_safe=False,
    include_package_data=True,
    platforms="any",
    install_requires=[
        "Flask",
        "redis",
    ],
    extras_require={"tests": ["pytest", "pretend"]},
    tests_require=["pytest", "pretend"],
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    cmdclass={"test": PyTest},
)
{'fraction_non_alphanumeric': 0.1308001461454147, 'fraction_numerical': 0.0014614541468761417, 'mean_word_length': 3.074404761904762, 'pattern_counts': {'":': 4, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2286264', 'n_tokens_mistral': 818, 'n_tokens_neox': 806, 'n_words': 187}