Skip to content

Commit 15a0b35

Browse files
vahid-ahmadiclaude
andauthored
Fix ruff formatting in validation notebook (#1743)
#1696 inserted warnings-suppression lines that were not ruff-formatted; the docs-only path filter skipped the full Lint on that merge, so the violation only surfaced when a later code PR triggered a repo-wide ruff format --check on main. Add the blank line ruff wants. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a769d93 commit 15a0b35

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

changelog.d/587-format.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Apply ruff formatting to the validation notebook (blank line after the warnings import) so the repo-wide `ruff format --check` lint passes on main.

docs/book/validation/validation.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,6 +1790,7 @@
17901790
],
17911791
"source": [
17921792
"import warnings\n",
1793+
"\n",
17931794
"warnings.filterwarnings(\"ignore\")\n",
17941795
"\n",
17951796
"from policyengine_uk import Microsimulation\n",

0 commit comments

Comments
 (0)