-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
78 lines (61 loc) · 1.85 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
from setuptools import setup, find_packages
from flake8_use_fstring import __version__
extra_test = [
'coverage==4.*',
'pytest>=4',
'pytest-cov>=2',
'flake8-builtins',
# Cannot install on python 3.12, project is archived
'flake8-commas ; python_version < "3.12"',
'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.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Quality Assurance',
],
)