Skip to content

fix: remove unused exception variables (F841) - #186

Merged
stefankoegl merged 1 commit into
stefankoegl:masterfrom
Mubashir78:master
Oct 8, 2026
Merged

stefankoegl merged 1 commit into
stefankoegl:masterfrom
Mubashir78:master

Conversation

@Mubashir78

Copy link
Copy Markdown

Remove 7 unused ex exception variables across the codebase flagged by Ruff rule F841 (local variable assigned but never used).

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.

🟢 Approval recommended

The changes are complete, behavior-preserving, and correctly resolve the reported lint violations.

0 open findings

What changed in this PR

Removes unused exception bindings flagged by Ruff F841 without changing behavior.

Changes:

  • Removes seven unused as ex bindings from exception handlers.
File Description
jsonpatch.py Simplifies exception handlers by removing unused variables.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

@stefankoegl
stefankoegl merged commit 8ea1e6d into stefankoegl:master Oct 8, 2026
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.

3 participants