Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Oct 13, 2022
1 parent 5291104 commit abc1e43
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions docs/usage/datasets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@
" }\n",
" self.save_variable_values(year, data)\n",
"\n",
"\n",
"# Important: we must instantiate datasets. This tests their validity and adds dynamic logic.\n",
"CountryTemplateDataset = (\n",
" CountryTemplateDataset()\n",
")"
"CountryTemplateDataset = CountryTemplateDataset()"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/simulation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"\n",
"sim = Microsimulation()\n",
"\n",
"sim.calculate(\"income_tax\", \"2022-01\").sum()/1e6"
"sim.calculate(\"income_tax\", \"2022-01\").sum() / 1e6"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def generate(self, year: int) -> None:
}
self.save_variable_values(year, data)


# Important: we must instantiate datasets. This tests their validity and adds dynamic logic.
CountryTemplateDataset = (
CountryTemplateDataset()
)
CountryTemplateDataset = CountryTemplateDataset()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
general_requirements = [
"pytest>=4,<6",
"numpy>=1.11,<1.21",
"black<23",
"black[jupyter]<23",
"linecheck<1",
"yaml-changelog<1",
"coverage<7",
Expand Down

0 comments on commit abc1e43

Please sign in to comment.