Skip to content

Commit 962acdc

Browse files
raullenchaiclaude
andcommitted
ruff: ignore I001/F401 in notebooks (teaching artifacts)
Notebook cells keep illustrative imports (e.g. WebhookSink shown next to a swap comment) and per-cell import order; consistent with examples/ and tests/. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent e397c67 commit 962acdc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,6 @@ ignore = ["E501"]
7777
"retina/track.py" = ["B007"]
7878
"examples/*" = ["I001"]
7979
"tests/*" = ["I001"]
80+
# Notebooks are teaching artifacts: allow illustrative imports (e.g. showing
81+
# `WebhookSink` next to a swap comment) and unsorted cell imports.
82+
"notebooks/*" = ["I001", "F401"]

0 commit comments

Comments
 (0)