Skip to content

Remove obsolete A001 suppression from ruff config#252

Merged
kevinbackhouse merged 2 commits into
mainfrom
copilot/fix-linter-error-a001-again
Jun 15, 2026
Merged

Remove obsolete A001 suppression from ruff config#252
kevinbackhouse merged 2 commits into
mainfrom
copilot/fix-linter-error-a001-again

Conversation

Copilot AI commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

A001 ("Variable shadows built-in") was listed in pyproject.toml's lint.ignore as a backwards-compatibility suppression, but there are no A001 violations anywhere in the codebase. The entry is dead weight.

Changes

  • pyproject.toml: Remove "A001" from lint.ignore; ruff check . passes cleanly without it.

Copilot AI review requested due to automatic review settings June 1, 2026 13:35
Copilot AI self-assigned this Jun 1, 2026
Copilot AI removed the request for review from Copilot June 1, 2026 13:35
Copilot AI linked an issue Jun 1, 2026 that may be closed by this pull request
Copilot AI requested review from Copilot and removed request for Copilot June 1, 2026 13:45
Copilot AI changed the title [WIP] Fix linter error A001 and remove from suppression Remove obsolete A001 suppression from ruff config Jun 1, 2026
Copilot AI requested a review from kevinbackhouse June 1, 2026 13:48
@kevinbackhouse
kevinbackhouse marked this pull request as ready for review June 15, 2026 11:52
Copilot AI review requested due to automatic review settings June 15, 2026 11:52

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.

Pull request overview

This PR removes an obsolete Ruff suppression (A001: variable shadows built-in) from the repository’s Ruff configuration, keeping the lint configuration aligned with the current state of the codebase.

Changes:

  • Removed "A001" from [tool.ruff.lint].ignore in pyproject.toml.
Show a summary per file
File Description
pyproject.toml Drops the unused Ruff ignore for A001, simplifying the lint ignore baseline.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@kevinbackhouse
kevinbackhouse merged commit 5e917d3 into main Jun 15, 2026
10 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.

A001

4 participants