You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by sa...@apache.org on 2016/11/21 01:38:37 UTC

incubator-airflow git commit: [AIRFLOW-640] Install and enable nose-ignore-docstring

Repository: incubator-airflow
Updated Branches:
  refs/heads/master ca6dbc648 -> dedc54eea


[AIRFLOW-640] Install and enable nose-ignore-docstring

Closes #1896 from zodiac/nose-ignore-docstring


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

Branch: refs/heads/master
Commit: dedc54eeafe8ee51fe05d143d0ec62af01c72b52
Parents: ca6dbc6
Author: Li Xuanji <xu...@gmail.com>
Authored: Sun Nov 20 17:38:24 2016 -0800
Committer: Siddharth Anand <si...@yahoo.com>
Committed: Sun Nov 20 17:38:24 2016 -0800

----------------------------------------------------------------------
 run_unit_tests.sh           |  1 +
 scripts/ci/requirements.txt |  1 +
 setup.py                    | 12 +++++++++++-
 3 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/dedc54ee/run_unit_tests.sh
----------------------------------------------------------------------
diff --git a/run_unit_tests.sh b/run_unit_tests.sh
index 387106e..c291292 100755
--- a/run_unit_tests.sh
+++ b/run_unit_tests.sh
@@ -33,6 +33,7 @@ if [ -z "$nose_args" ]; then
 --cover-html \
 --cover-package=airflow \
 --cover-html-dir=airflow/www/static/coverage \
+--with-ignore-docstrings \
 -s \
 -v \
 --logging-level=DEBUG "

http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/dedc54ee/scripts/ci/requirements.txt
----------------------------------------------------------------------
diff --git a/scripts/ci/requirements.txt b/scripts/ci/requirements.txt
index 1576709..8dac10c 100644
--- a/scripts/ci/requirements.txt
+++ b/scripts/ci/requirements.txt
@@ -34,6 +34,7 @@ mock
 mysqlclient
 nose
 nose-exclude
+nose-ignore-docstring==0.2
 nose-parameterized
 pandas
 psutil>=4.2.0, <5.0.0

http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/dedc54ee/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index a863fe3..cf76a3e 100644
--- a/setup.py
+++ b/setup.py
@@ -161,7 +161,17 @@ qds = ['qds-sdk>=1.9.0']
 cloudant = ['cloudant>=0.5.9,<2.0'] # major update coming soon, clamp to 0.x
 
 all_dbs = postgres + mysql + hive + mssql + hdfs + vertica + cloudant
-devel = ['lxml>=3.3.4', 'nose', 'nose-parameterized', 'mock', 'click', 'jira', 'moto', 'freezegun']
+devel = [
+    'click',
+    'freezegun'
+    'jira',
+    'lxml>=3.3.4',
+    'mock',
+    'moto',
+    'nose',
+    'nose-ignore-docstring==0.2',
+    'nose-parameterized',
+]
 devel_minreq = devel + mysql + doc + password + s3
 devel_hadoop = devel_minreq + hive + hdfs + webhdfs + kerberos
 devel_all = devel + all_dbs + doc + samba + s3 + slack + crypto + oracle + docker