Skip to content

Commit

Permalink
Add pycodestyle warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Battocchi <[email protected]>
  • Loading branch information
kbattocchi committed Aug 11, 2024
1 parent f9ce0d2 commit f52f422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/Metalearners Examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"# Define DGP\n",
"def generate_data(n, d, controls_outcome, treatment_effect, propensity):\n",
" \"\"\"Generate population data for given untreated_outcome, treatment_effect and propensity functions.\n",
" \n",
"\n",
" Parameters\n",
" ----------\n",
" n (int): population size\n",
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ ignore = [
extend-select = [
"D", # Docstring
"E501", # Line too long
"W", # Pycodestyle warnings
]
extend-per-file-ignores = { "econml/tests" = ["D"] } # ignore docstring rules for tests

Expand Down

0 comments on commit f52f422

Please sign in to comment.