from setuptools import setup, find_packages

from flake8_use_fstring import __version__

extra_test = [
    'coverage==4.*',
    'pytest>=4',
    'pytest-cov>=2',

    'flake8-builtins',
    'flake8-commas',
    'flake8-fixme',
    'flake8-print',
    'flake8-quotes',
    'flake8-todo',
]
extra_dev = [
    *extra_test,
]

extra_ci = [
    *extra_test,
    'coveralls',
]

setup(
    name='flake8-use-fstring',
    version=__version__,
    description='Flake8 plugin for string formatting style.',

    url='https://github.com/MichaelKim0407/flake8-use-fstring',
    author='Michael Kim',
    author_email='mkim0407@gmail.com',

    packages=find_packages(),

    python_requires='>=3.6',

    install_requires=[
        'flake8>=3',
    ],

    extras_require={
        'test': extra_test,
        'dev': extra_dev,

        'ci': extra_ci,
    },

    entry_points={
        'flake8.extension': [
            'FS001 = flake8_use_fstring.percent:PercentFormatDetector',
            'FS002 = flake8_use_fstring.format:StrFormatDetector',
            'FS003 = flake8_use_fstring.prefix:MissingPrefixDetector',
        ],
    },

    classifiers=[
        'Intended Audience :: Developers',

        'Development Status :: 3 - Alpha',

        'License :: OSI Approved :: MIT License',

        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: 3.10',
        'Programming Language :: Python :: 3.11',

        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Software Development :: Quality Assurance',
    ],
)
