Skip to content
Snippets Groups Projects
Commit b97ed5f2 authored by Vladimir Keleshev's avatar Vladimir Keleshev
Browse files

Prepare first PyPI release.

parent 328004f9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -12,7 +12,7 @@ e.g. NumPy docstring conventions is the first candidate:
https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
 
The main repository of this program is located at:
http://github.com/halst/pep257
http://github.com/GreenSteam/pep257
 
Creating own checks
-------------------
Loading
Loading
pep257 0 → 100755
#! /usr/bin/env python
from pep257 import main, parse_options
if __name__ == '__main__':
try:
main(*parse_options())
except KeyboardInterrupt:
pass
#!/usr/bin/env python
#! /usr/bin/env python
 
"""Static analysis tool for checking docstring conventions and style.
 
Loading
Loading
@@ -13,7 +13,7 @@ e.g. NumPy docstring conventions is the first candidate:
https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
 
The main repository of this program is located at:
http://github.com/halst/pep257
http://github.com/GreenSteam/pep257
 
Creating own checks
-------------------
Loading
Loading
@@ -333,7 +333,7 @@ def main(options, arguments):
try:
errors.extend(check_source(open(filename).read(), filename))
except IOError:
print "Error opening file %s" % filename
print("Error opening file %s" % filename)
for error in sorted(errors):
print(error)
 
Loading
Loading
setup.py 0 → 100644
"""`pep257` lives on `GitHub <http://github.com/GreenSteam/pep257/>`_."""
from distutils.core import setup
setup(name='pep257',
version='0.1.0',
description="Python docstring style checker",
long_description=__doc__,
license='MIT',
author='Vladimir Keleshev, GreenSteam A/S',
url='https://github.com/GreenSteam/pep257/',
classifiers=['Intended Audience :: Developers',
'Environment :: Console',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License'],
keywords='PEP 257, pep257, PEP 8, pep8, docstrings',
py_modules=['pep257'],
scripts=['pep257'])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment