summaryrefslogtreecommitdiff
path: root/generate_examples.py
diff options
context:
space:
mode:
authorSushil Kumar <sushil.kumar3@hp.com>2015-05-20 19:53:12 +0000
committerSushil Kumar <sushil.kumar3@hp.com>2015-05-29 07:27:59 +0000
commit843bb0cd53f6cc3caa9beeb8f07a374943d01889 (patch)
tree1d3669e320affdd4f59cd88c404ef420b1e0cfd4 /generate_examples.py
parent0f3d24254811906810552217cf05ed9409f415fc (diff)
downloadtrove-843bb0cd53f6cc3caa9beeb8f07a374943d01889.tar.gz
Fixes hacking rules
This patchset helps reducing the ignored pep8 errors. Fixed some ignored hacking rules, as listed follows: - E111 indentation is not a multiple of four - E122 continuation line missing indentation or outdented - E123 closing bracket does not match indentation of opening bracket's line - E128 continuation line under-indented for visual indent - E251 unexpected spaces around keyword / parameter equals - E265 block comment should start with '# ' - E713 test for membership should be 'not in' - H105 Don't use author tags - H306 imports not in alphabetical order Change-Id: Iadf2af4f6ec90420153ad63b5a41650392ef2cbd
Diffstat (limited to 'generate_examples.py')
-rwxr-xr-xgenerate_examples.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/generate_examples.py b/generate_examples.py
index afe14e6c..f26c385e 100755
--- a/generate_examples.py
+++ b/generate_examples.py
@@ -15,11 +15,12 @@
# under the License.
#
-import run_tests
import argparse
import os
import sys
+import run_tests
+
def import_tests():
from trove.tests.examples import snippets