From 84b60ff818acbf41028f3c5a445f0699b3882d68 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 27 Jul 2023 21:28:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks For more information, see https://pre-commit.ci --- tests/integration/lost_facts_test.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/integration/lost_facts_test.py b/tests/integration/lost_facts_test.py index 3d134de..0e5640c 100644 --- a/tests/integration/lost_facts_test.py +++ b/tests/integration/lost_facts_test.py @@ -1,10 +1,11 @@ -from collections import Counter import itertools import os +from collections import Counter from pathlib import Path + from sqlalchemy import create_engine -from ferc_xbrl_extractor.cli import get_instances, TAXONOMY_MAP +from ferc_xbrl_extractor.cli import TAXONOMY_MAP, get_instances from ferc_xbrl_extractor.xbrl import extract, process_instance @@ -54,8 +55,8 @@ def clean_fact(fact, contexts): """ date | entity | sorted_dims | fact_name | value ---------------- - 2021-12-31 | AP | [("dim1", 1), ("dim2", 2)] | Why Don't I have a home? | 17 - 2021-12-31 | AP | [("dim1", 1)] | Why Don't I have a home? | 18 + 2021-12-31 | AP | [("dim1", 1), ("dim2", 2)] | Why Don't I have a home? | 17 + 2021-12-31 | AP | [("dim1", 1)] | Why Don't I have a home? | 18 .... """