From 64f5ce7029c4968ee0df9efba7205bc7809952f8 Mon Sep 17 00:00:00 2001 From: Vahid Ahmadi Date: Wed, 21 Jan 2026 15:11:49 +0000 Subject: [PATCH] Fix black formatting for 5 files Remove extra blank lines after imports to comply with black 26.1.0. Co-Authored-By: Claude Opus 4.5 --- changelog_entry.yaml | 4 ++++ policyengine_uk_data/datasets/imputations/salary_sacrifice.py | 1 - policyengine_uk_data/datasets/imputations/wealth.py | 1 - policyengine_uk_data/storage/download_completed_datasets.py | 1 - .../tests/microsimulation/test_reform_impacts.py | 1 - policyengine_uk_data/tests/test_property_purchased.py | 1 - 6 files changed, 4 insertions(+), 5 deletions(-) diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29bb..c0a6a0862 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: patch + changes: + fixed: + - Fix black formatting for 5 files to comply with black 26.1.0 diff --git a/policyengine_uk_data/datasets/imputations/salary_sacrifice.py b/policyengine_uk_data/datasets/imputations/salary_sacrifice.py index aed9b33f2..fb6de459a 100644 --- a/policyengine_uk_data/datasets/imputations/salary_sacrifice.py +++ b/policyengine_uk_data/datasets/imputations/salary_sacrifice.py @@ -23,7 +23,6 @@ from policyengine_uk.data import UKSingleYearDataset from policyengine_uk import Microsimulation - PREDICTORS = [ "age", "employment_income", diff --git a/policyengine_uk_data/datasets/imputations/wealth.py b/policyengine_uk_data/datasets/imputations/wealth.py index 53eb3e53e..502a5508c 100644 --- a/policyengine_uk_data/datasets/imputations/wealth.py +++ b/policyengine_uk_data/datasets/imputations/wealth.py @@ -11,7 +11,6 @@ from policyengine_uk.data import UKSingleYearDataset from policyengine_uk import Microsimulation - WAS_TAB_FOLDER = STORAGE_FOLDER / "was_2006_20" REGIONS = { diff --git a/policyengine_uk_data/storage/download_completed_datasets.py b/policyengine_uk_data/storage/download_completed_datasets.py index 058794afe..84106156f 100644 --- a/policyengine_uk_data/storage/download_completed_datasets.py +++ b/policyengine_uk_data/storage/download_completed_datasets.py @@ -1,7 +1,6 @@ from policyengine_uk_data.utils.huggingface import download, upload from pathlib import Path - FOLDER = Path(__file__).parent FILES = [ diff --git a/policyengine_uk_data/tests/microsimulation/test_reform_impacts.py b/policyengine_uk_data/tests/microsimulation/test_reform_impacts.py index f136b2203..19baa19f4 100644 --- a/policyengine_uk_data/tests/microsimulation/test_reform_impacts.py +++ b/policyengine_uk_data/tests/microsimulation/test_reform_impacts.py @@ -10,7 +10,6 @@ from policyengine_core.data import Dataset from policyengine_uk_data.storage import STORAGE_FOLDER - # Load configuration from YAML file config_path = Path(__file__).parent / "reforms_config.yaml" with open(config_path, "r") as f: diff --git a/policyengine_uk_data/tests/test_property_purchased.py b/policyengine_uk_data/tests/test_property_purchased.py index 61a73aaea..709e86bfc 100644 --- a/policyengine_uk_data/tests/test_property_purchased.py +++ b/policyengine_uk_data/tests/test_property_purchased.py @@ -19,7 +19,6 @@ import pytest - PROPERTY_PURCHASE_RATE = 0.0385