|
2 | 2 |
|
3 | 3 |
|
4 | 4 | def readme():
|
5 |
| - with open('README.md') as f: |
| 5 | + with open("README.md") as f: |
6 | 6 | return f.read()
|
7 | 7 |
|
8 | 8 |
|
9 | 9 | MAJOR, MINOR, MICRO = 1, 0, 1
|
10 |
| -__VERSION__ = '{}.{}.{}'.format(MAJOR, MINOR, MICRO) |
| 10 | +__VERSION__ = "{}.{}.{}".format(MAJOR, MINOR, MICRO) |
11 | 11 |
|
12 | 12 | setup(
|
13 |
| - name='docstr_coverage', |
| 13 | + name="docstr_coverage", |
14 | 14 | version=__VERSION__,
|
15 |
| - description=' '.join([ |
16 |
| - 'Utility for examining python source files to ensure proper documentation.', |
17 |
| - 'Lists missing docstrings, and calculates overall docstring coverage percentage rating' |
18 |
| - ]), |
| 15 | + description=" ".join( |
| 16 | + [ |
| 17 | + "Utility for examining python source files to ensure proper documentation.", |
| 18 | + "Lists missing docstrings, and calculates overall docstring coverage percentage rating", |
| 19 | + ] |
| 20 | + ), |
19 | 21 | long_description=readme(),
|
20 |
| - long_description_content_type='text/markdown', |
21 |
| - keywords='docstring coverage documentation audit source code statistics report', |
22 |
| - url='https://github.com/HunterMcGushion/docstr_coverage', |
23 |
| - author='Hunter McGushion', |
24 |
| - |
25 |
| - license='MIT', |
| 22 | + long_description_content_type="text/markdown", |
| 23 | + keywords="docstring coverage documentation audit source code statistics report", |
| 24 | + url="https://github.com/HunterMcGushion/docstr_coverage", |
| 25 | + author="Hunter McGushion", |
| 26 | + |
| 27 | + license="MIT", |
26 | 28 | packages=find_packages(),
|
27 | 29 | install_requires=[],
|
28 | 30 | include_package_data=True,
|
29 | 31 | zip_safe=False,
|
30 |
| - test_suite='nose.collector', |
31 |
| - tests_require=['nose'], |
32 |
| - entry_points=dict( |
33 |
| - console_scripts=[ |
34 |
| - 'docstr-coverage=docstr_coverage.coverage:_execute', |
35 |
| - ], |
36 |
| - ), |
| 32 | + test_suite="nose.collector", |
| 33 | + tests_require=["nose"], |
| 34 | + entry_points=dict(console_scripts=["docstr-coverage=docstr_coverage.coverage:_execute"]), |
37 | 35 | classifiers=(
|
38 | 36 | # TODO: Check Python 2 compatibility
|
39 |
| - 'Programming Language :: Python :: 3', |
40 |
| - 'License :: OSI Approved :: MIT License', |
41 |
| - 'Operating System :: OS Independent', |
42 |
| - 'Topic :: Documentation', |
43 |
| - 'Topic :: Documentation :: Sphinx', |
44 |
| - 'Topic :: Software Development', |
45 |
| - 'Topic :: Software Development :: Documentation', |
46 |
| - 'Topic :: Software Development :: Libraries :: Python Modules', |
47 |
| - 'Topic :: Software Development :: Quality Assurance', |
48 |
| - 'Topic :: Utilities' |
| 37 | + "Programming Language :: Python :: 3", |
| 38 | + "License :: OSI Approved :: MIT License", |
| 39 | + "Operating System :: OS Independent", |
| 40 | + "Topic :: Documentation", |
| 41 | + "Topic :: Documentation :: Sphinx", |
| 42 | + "Topic :: Software Development", |
| 43 | + "Topic :: Software Development :: Documentation", |
| 44 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 45 | + "Topic :: Software Development :: Quality Assurance", |
| 46 | + "Topic :: Utilities", |
49 | 47 | ),
|
50 | 48 | )
|
0 commit comments