Skip to content

Commit b7df062

Browse files
Fix PEP-8 warnings
1 parent b9812d4 commit b7df062

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

react/jsx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,6 @@ def __init__(self, message):
6363
def transform(jsx_path, **opts):
6464
return JSXTransformer().transform(jsx_path, **opts)
6565

66+
6667
def transform_string(jsx, **opts):
6768
return JSXTransformer().transform_string(jsx, **opts)

react/source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
from os.path import abspath, dirname, isfile, join
1616

17-
1817
JS_ROOT = abspath(join(dirname(__file__), 'js/react'))
1918

19+
2020
def path_for(react_file):
2121
path = join(JS_ROOT, react_file)
2222
if isfile(path):

react/test/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919

2020

2121
if __name__ == '__main__':
22-
unittest.main()
22+
unittest.main()

react/test/source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
class TestSource(TestCase):
21-
21+
2222
def test_path_for(self):
2323
JS_ROOT = source.JS_ROOT
2424

react/utils/pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from pipeline.exceptions import CompilerError
1919
from react.jsx import JSXTransformer, TransformError
2020

21+
2122
class JSXCompiler(CompilerBase):
2223
output_extension = 'js'
2324

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
license='Apache-2.0',
1212
description='Python bridge to JSX & the React JavaScript library.',
1313
long_description=open('DESCRIPTION').read(),
14-
classifiers =[
14+
classifiers=[
1515
'Development Status :: 4 - Beta',
1616
'Intended Audience :: Developers',
1717
'License :: OSI Approved :: Apache Software License',

0 commit comments

Comments
 (0)