ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dankil...@apache.org
Subject [11/11] incubator-ariatosca git commit: pylint
Date Tue, 08 Nov 2016 12:29:19 GMT
pylint


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/0b3c85d8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/0b3c85d8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/0b3c85d8

Branch: refs/heads/ARIA-10-task-retries
Commit: 0b3c85d8accfe0d0106e7b01b8ed273b068d1887
Parents: afe39fa
Author: Dan Kilman <dank@gigaspaces.com>
Authored: Tue Nov 8 14:15:59 2016 +0200
Committer: Dan Kilman <dank@gigaspaces.com>
Committed: Tue Nov 8 14:15:59 2016 +0200

----------------------------------------------------------------------
 .gitignore                          | 2 +-
 aria/context/workflow.py            | 1 -
 aria/workflows/core/translation.py  | 1 -
 tests/requirements.txt              | 2 +-
 tests/workflows/api/__init__.py     | 1 -
 tests/workflows/core/test_engine.py | 2 +-
 6 files changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/0b3c85d8/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 29c4e9c..482383a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,7 +29,7 @@ pip-delete-this-directory.txt
 # Unit test / coverage reports
 htmlcov/
 .tox/
-.coverage
+.coverage*
 .cache
 nosetests.xml
 coverage.xml

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/0b3c85d8/aria/context/workflow.py
----------------------------------------------------------------------
diff --git a/aria/context/workflow.py b/aria/context/workflow.py
index 41ecb74..44db38d 100644
--- a/aria/context/workflow.py
+++ b/aria/context/workflow.py
@@ -191,4 +191,3 @@ class _CurrentContext(threading.local):
             self._set(prev_workflow_context)
 
 current = _CurrentContext()
-

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/0b3c85d8/aria/workflows/core/translation.py
----------------------------------------------------------------------
diff --git a/aria/workflows/core/translation.py b/aria/workflows/core/translation.py
index a9e411a..b6cbdad 100644
--- a/aria/workflows/core/translation.py
+++ b/aria/workflows/core/translation.py
@@ -18,7 +18,6 @@ Translation of user graph's API to the execution graph
 """
 
 from .. import api
-from .. import exceptions
 from . import task as core_task
 
 

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/0b3c85d8/tests/requirements.txt
----------------------------------------------------------------------
diff --git a/tests/requirements.txt b/tests/requirements.txt
index 92b4e78..cda295a 100644
--- a/tests/requirements.txt
+++ b/tests/requirements.txt
@@ -12,7 +12,7 @@
 
 testtools
 mock==1.0.1
-pylint==1.5.5
+pylint==1.6.4
 pytest==3.0.2
 pytest-cov==2.3.1
 pytest-mock==1.2

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/0b3c85d8/tests/workflows/api/__init__.py
----------------------------------------------------------------------
diff --git a/tests/workflows/api/__init__.py b/tests/workflows/api/__init__.py
index 09697dc..ae1e83e 100644
--- a/tests/workflows/api/__init__.py
+++ b/tests/workflows/api/__init__.py
@@ -12,4 +12,3 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/0b3c85d8/tests/workflows/core/test_engine.py
----------------------------------------------------------------------
diff --git a/tests/workflows/core/test_engine.py b/tests/workflows/core/test_engine.py
index db03761..39c9cb2 100644
--- a/tests/workflows/core/test_engine.py
+++ b/tests/workflows/core/test_engine.py
@@ -190,7 +190,7 @@ class TestEngine(BaseTest):
 
         @workflow
         def mock_workflow(ctx, graph):
-            graph.add_tasks(api.task.WorkflowTask(sub_workflow))
+            graph.add_tasks(api.task.WorkflowTask(sub_workflow, ctx=ctx))
 
         self._execute(workflow_func=mock_workflow,
                       workflow_context=workflow_context,


Mime
View raw message