Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit f89ba17

Browse files
author
Vladimir Keleshev
committed
Correct typos
1 parent e796d43 commit f89ba17

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pep257.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Other checks can be added, e.g. NumPy docstring conventions:
88
https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
99
10-
The repository of is located at:
10+
The repository is located at:
1111
http://github.com/GreenSteam/pep257
1212
1313
"""
@@ -156,7 +156,7 @@ def __init__(self, message):
156156
self, message +
157157
'That means pep257 cannot decide which definitions are public. '
158158
'Variable __all__ should be present at most once in each file, '
159-
"in form `__all__ = ['a_public_function', 'APublicClass', ...]`. "
159+
"in form `__all__ = ('a_public_function', 'APublicClass', ...)`. "
160160
'More info on __all__: http://stackoverflow.com/q/44834/. ')
161161

162162

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
"""`pep257` lives on `GitHub <http://github.com/GreenSteam/pep257/>`_."""
21
from __future__ import with_statement
32
from distutils.core import setup
43

@@ -13,7 +12,7 @@
1312
name='pep257',
1413
version=version,
1514
description="Python docstring style checker",
16-
long_description=__doc__,
15+
long_description=open('README.rst').read(),
1716
license='MIT',
1817
author='Vladimir Keleshev',
1918
url='https://github.com/GreenSteam/pep257/',

0 commit comments

Comments
 (0)