From 8b5218b858792e38e3f3ff10202d4578cf5e8c3c Mon Sep 17 00:00:00 2001 From: William May Date: Fri, 13 Dec 2024 12:25:15 +0000 Subject: [PATCH] Apply residual automated ruff formatting changes --- app/export_config/generate_fund_round_html.py | 8 +++++++- build.py | 1 - config/envs/unit_test.py | 1 - 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/export_config/generate_fund_round_html.py b/app/export_config/generate_fund_round_html.py index 02fd363..ebda84d 100644 --- a/app/export_config/generate_fund_round_html.py +++ b/app/export_config/generate_fund_round_html.py @@ -70,4 +70,10 @@ def generate_all_round_html(round_id, base_output_dir=None): html_content = frontend_html_prefix html_content += print_html(print_data) html_content += frontend_html_suffix - write_config(html_content, f"{fund.short_name.casefold()}_{round.short_name.casefold()}", round.short_name, "html", base_output_dir) + write_config( + html_content, + f"{fund.short_name.casefold()}_{round.short_name.casefold()}", + round.short_name, + "html", + base_output_dir, + ) diff --git a/build.py b/build.py index 6741cee..d97e1af 100644 --- a/build.py +++ b/build.py @@ -54,7 +54,6 @@ def build_govuk_assets(static_dist_root="app/static/dist"): cwd = os.getcwd() os.chdir(DIST_PATH) for css_file in glob.glob("*.css"): - # Read in the file with open(css_file, "r") as file: filedata = file.read() diff --git a/config/envs/unit_test.py b/config/envs/unit_test.py index 1281755..d2e9876 100644 --- a/config/envs/unit_test.py +++ b/config/envs/unit_test.py @@ -9,7 +9,6 @@ @configclass class UnitTestConfig(Config): - # Logging FSD_LOG_LEVEL = logging.DEBUG