Skip to content

fix: format wildfire example notebook - #548

Merged
giswqs merged 1 commit into
mainfrom
fix/wildfire-notebook-ruff
Aug 8, 2026
Merged

fix: format wildfire example notebook#548
giswqs merged 1 commit into
mainfrom
fix/wildfire-notebook-ruff

Conversation

@giswqs

@giswqs giswqs commented Aug 8, 2026

Copy link
Copy Markdown
Member

Summary

  • apply Ruff's required formatting to the wildfire burn area notebook
  • restore a passing pre-commit check on main

Test plan

  • Run pre-commit run --all-files

Summary by CodeRabbit

  • Documentation
    • Reformatted code examples in the wildfire burn area notebook for improved readability.
    • Notebook behavior and results remain unchanged.

Apply Ruff's required notebook formatting so the pre-commit check passes on main.
@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: cb19900a-93b3-4858-a64c-2e1dda9f89db

📥 Commits

Reviewing files that changed from the base of the PR and between 0438842 and ba354b8.

📒 Files selected for processing (1)
  • docs/examples/wildfire_burn_area.ipynb

📝 Walkthrough

Walkthrough

The notebook JSON now stores selected code-cell source content as line arrays. It adds a blank line after the imports and separates the mask visualization statements. Notebook behavior is unchanged.

Changes

Notebook formatting

Layer / File(s) Summary
Format notebook source lines
docs/examples/wildfire_burn_area.ipynb
The import cell includes a blank source line. The mask visualization cell stores the raster overlay call and map display expression as separate source lines.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: qandeel-01

Poem

A rabbit reviews each line,
With paws that hop and align.
Blank space follows imports bright,
Mask commands split just right.
The notebook runs as before,
Then the rabbit checks once more.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/wildfire-notebook-ruff

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@giswqs
giswqs marked this pull request as ready for review August 8, 2026 21:50
Copilot AI lite review requested due to automatic review settings August 8, 2026 21:50
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request August 8, 2026 21:50 Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@giswqs
giswqs merged commit 5a31853 into main Aug 8, 2026
10 of 11 checks passed
@giswqs
giswqs deleted the fix/wildfire-notebook-ruff branch August 8, 2026 21:51
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