From 9dd2d400b8093fe43e4663bb7ea41434e8487cae Mon Sep 17 00:00:00 2001 From: allenbross-wf Date: Thu, 30 Nov 2017 15:06:31 -0700 Subject: [PATCH] update openpyxl and DQC_0008 (#278) --- dqc_us_rules/dqc_us_0008.py | 2 ++ requirements-dev.txt | 1 + requirements.txt | 1 + 3 files changed, 4 insertions(+) diff --git a/dqc_us_rules/dqc_us_0008.py b/dqc_us_rules/dqc_us_0008.py index 93a0859d88..e4267d9084 100644 --- a/dqc_us_rules/dqc_us_0008.py +++ b/dqc_us_rules/dqc_us_0008.py @@ -183,6 +183,8 @@ def _run_checks(val): :rtype: None """ errors = _find_errors(val) + if not errors: + return for error in errors: val.modelXbrl.error( '{base_key}.{extension_key}'.format( diff --git a/requirements-dev.txt b/requirements-dev.txt index 6c173ebac1..f8b69598b5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,5 +5,6 @@ nose==1.3.4 mock==1.0.1 flake8==2.5.4 isodate==0.5.4 +openpyxl==2.3.3 -r requirements.txt diff --git a/requirements.txt b/requirements.txt index de5ff4cc04..0d27baea82 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ +openpyxl==2.3.3 -e git+https://git@github.com/arelle/arelle.git@master#egg=Arelle-dev