Skip to content

Fix CI: ignore notebook-specific lint errors#4

Merged
fchareyr merged 2 commits intomasterfrom
copilot/fix-ci-issues
Nov 4, 2025
Merged

Fix CI: ignore notebook-specific lint errors#4
fchareyr merged 2 commits intomasterfrom
copilot/fix-ci-issues

Conversation

Copy link
Copy Markdown

Copilot AI commented Nov 4, 2025

CI was failing on lint errors in Jupytext-converted notebook files that use IPython built-ins and interactive display patterns.

Changes

  • pyproject.toml: Added per-file ignores for notebooks/**/*:

    • F821 - allows IPython built-ins like display()
    • B018 - allows standalone expressions used for cell output
  • Formatting: Applied ruff format to fix spacing/line-length issues in notebooks, solvers, and tests

The notebook files are dual-format (.py and .ipynb via Jupytext) for version control, but lint as standalone Python which incorrectly flags notebook idioms.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • astral.sh
    • Triggering command: curl -LsSf REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Fix the CI


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: fchareyr <3171960+fchareyr@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix continuous integration setup Fix CI: ignore notebook-specific lint errors Nov 4, 2025
Copilot AI requested a review from fchareyr November 4, 2025 19:52
@fchareyr fchareyr marked this pull request as ready for review November 4, 2025 20:44
@fchareyr fchareyr merged commit 0f2a693 into master Nov 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants