You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ro...@apache.org on 2017/01/18 18:11:37 UTC
[5/6] beam git commit: Add dependency comments to tox file.
Add dependency comments to tox file.
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/2197009d
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/2197009d
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/2197009d
Branch: refs/heads/python-sdk
Commit: 2197009d4048fb0b76454c479171d1ffd2d57844
Parents: 4ded918
Author: Ahmet Altay <al...@google.com>
Authored: Tue Jan 17 15:41:45 2017 -0800
Committer: Robert Bradshaw <ro...@gmail.com>
Committed: Wed Jan 18 10:01:41 2017 -0800
----------------------------------------------------------------------
sdks/python/apache_beam/examples/snippets/snippets.py | 3 +--
sdks/python/tox.ini | 2 ++
2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam/blob/2197009d/sdks/python/apache_beam/examples/snippets/snippets.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/examples/snippets/snippets.py b/sdks/python/apache_beam/examples/snippets/snippets.py
index 0cba1af..ff240eb 100644
--- a/sdks/python/apache_beam/examples/snippets/snippets.py
+++ b/sdks/python/apache_beam/examples/snippets/snippets.py
@@ -109,9 +109,8 @@ def construct_pipeline(renames):
p.visit(SnippetUtils.RenameFiles(renames))
# [START pipelines_constructing_running]
- result = p.run()
+ p.run()
# [END pipelines_constructing_running]
- result
def model_pipelines(argv):
http://git-wip-us.apache.org/repos/asf/beam/blob/2197009d/sdks/python/tox.ini
----------------------------------------------------------------------
diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini
index fa78d6f..20afa58 100644
--- a/sdks/python/tox.ini
+++ b/sdks/python/tox.ini
@@ -24,6 +24,8 @@ envlist = py27
select = E3
[testenv:py27]
+# autocomplete_test depends on nose when invoked directly.
+# run_pylint.sh depends on pep8 and pylint.
deps=
nose
pep8