From 53f8184f3c3eefba8c28bbd7352bc7420912098b Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 23 Nov 2023 12:53:20 -0500 Subject: [PATCH] make format --- policyengine_uk/tools/baseline_variables.py | 4 +++- policyengine_uk/tools/cli.py | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/policyengine_uk/tools/baseline_variables.py b/policyengine_uk/tools/baseline_variables.py index 7a0062f77..cbbb05493 100644 --- a/policyengine_uk/tools/baseline_variables.py +++ b/policyengine_uk/tools/baseline_variables.py @@ -63,7 +63,9 @@ def generate_baseline_variables(): year, [True] * len( - baseline.calc(variable_metadata[variable].entity.key + "_id") + baseline.calc( + variable_metadata[variable].entity.key + "_id" + ) ), ) diff --git a/policyengine_uk/tools/cli.py b/policyengine_uk/tools/cli.py index 91cbdd0c7..b20ab7af5 100644 --- a/policyengine_uk/tools/cli.py +++ b/policyengine_uk/tools/cli.py @@ -38,7 +38,9 @@ def add_tax_benefit_system_arguments(parser): def build_parser(): parser = argparse.ArgumentParser() - subparsers = parser.add_subparsers(help="Available commands", dest="command") + subparsers = parser.add_subparsers( + help="Available commands", dest="command" + ) subparsers.required = ( True # Can be added as an argument of add_subparsers in Python 3 ) @@ -100,7 +102,9 @@ def build_test_parser(parser): return parser - parser_test = subparsers.add_parser("test", help="Run PolicyEngine YAML tests") + parser_test = subparsers.add_parser( + "test", help="Run PolicyEngine YAML tests" + ) parser_test = build_test_parser(parser_test) return parser