-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PEP8 compliance and simple test of PegJsVisitor
- Loading branch information
Showing
11 changed files
with
218 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
# Matches multiple files with brace expansion notation | ||
# Set default charset | ||
[*.{js,py}] | ||
charset = utf-8 | ||
|
||
# 4 space indentation | ||
[*.py] | ||
indent_style = space | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,3 +87,6 @@ ENV/ | |
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# IDE | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,33 @@ | ||
from setuptools import setup | ||
|
||
|
||
def readme(): | ||
with open('README.rst') as f: | ||
return f.read() | ||
|
||
with open('LICENSE') as f: | ||
license = f.read() | ||
|
||
def license_text(): | ||
with open('LICENSE') as f: | ||
return f.read() | ||
|
||
|
||
setup(name='simplepeg', | ||
version='1.0.2', | ||
description='Python version of SimplePEG', | ||
long_description=readme(), | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 2.7', | ||
'Topic :: Text Processing :: Linguistic', | ||
], | ||
url='https://github.com/SimplePEG/Python', | ||
author='Oleksii Okhrymenko', | ||
author_email='[email protected]', | ||
keywords='peg parser grammar', | ||
license=license, | ||
test_suite='nose.collector', | ||
tests_require=['nose'], | ||
packages=['simplepeg'], | ||
include_package_data=True, | ||
zip_safe=False) | ||
version='1.0.3', | ||
description='Python version of SimplePEG', | ||
long_description=readme(), | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 2.7', | ||
'Topic :: Text Processing :: Linguistic', | ||
], | ||
url='https://github.com/SimplePEG/Python', | ||
author='Oleksii Okhrymenko', | ||
author_email='[email protected]', | ||
keywords='peg parser grammar', | ||
license=license_text(), | ||
test_suite='nose.collector', | ||
tests_require=['nose'], | ||
packages=['simplepeg'], | ||
include_package_data=True, | ||
zip_safe=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .speg import SPEG | ||
from .speg import SPEG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.