Skip to content

Commit 16c4eb8

Browse files
Fix Abolish Council Tax has no budgetary impact #1153 (#1154)
1 parent be74458 commit 16c4eb8

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
fixed:
4+
- Abolish Council Tax has no budgetary impact.

policyengine_uk/variables/gov/gov_tax.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,12 @@ class gov_tax(Variable):
3434
"high_income_incident_tax_change",
3535
"ni_employer",
3636
]
37+
38+
def formula(household, period, parameters):
39+
variables = list(gov_tax.adds)
40+
if parameters(period).gov.contrib.abolish_council_tax:
41+
variables = [
42+
variable for variable in variables if variable != "council_tax"
43+
]
44+
45+
return add(household, period, variables)

0 commit comments

Comments
 (0)