Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Commit afd204c

Browse files
committed
Simplified README file read.
1 parent 5fe083f commit afd204c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

setup.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,12 @@
33
import cpplint_junit
44

55

6-
def get_long_description():
7-
with open('README.rst') as file:
8-
description = file.read()
9-
return description
10-
11-
126
setup(
137
name='cpplint-junit',
148
version=cpplint_junit.__version__,
159

1610
description='Converts cpplint output to JUnit format.',
17-
long_description=get_long_description(),
11+
long_description=open('README.rst').read(),
1812
keywords='cpplint C++ Google JUnit',
1913

2014
author='John Hagen',

0 commit comments

Comments
 (0)