Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGhenis committed Nov 23, 2023
1 parent 7b3e1e9 commit 53f8184
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion policyengine_uk/tools/baseline_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
),
)

Expand Down
8 changes: 6 additions & 2 deletions policyengine_uk/tools/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 53f8184

Please sign in to comment.