Michael Brown has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10182
Change subject: add impala-flake8 ...................................................................... add impala-flake8 Add flake8 and dependencies to impala-python. The versions are compatible with Python 2.6.6. Add the impala-flake8 entry point, similar to impala-python. Add setup.cfg which defines flake8 special rules and exemptions. They are added to support 2-space indents and a max line length of 90. Contributors writing Python can use impala-flake8 to look for formatting mistakes. The two most common uses would be: impala-flake8 myfile.py or git diff HEAD^ myfile.py | impala-flake8 --diff In the second usage, flake8 will only examine lines changed. This allows a contributor to fix their own code and not be penalized by flake8 violations that may already be present (though they are encouraged to fix them if they can!) Change-Id: Ib4ce9eca6f8b55eaec1c96e7db1ff630ac016be0 --- A bin/impala-flake8 M infra/python/deps/requirements.txt A setup.cfg 3 files changed, 47 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/82/10182/1 -- To view, visit http://gerrit.cloudera.org:8080/10182 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ib4ce9eca6f8b55eaec1c96e7db1ff630ac016be0 Gerrit-Change-Number: 10182 Gerrit-PatchSet: 1 Gerrit-Owner: Michael Brown <[email protected]>
