Skip to content

Rename pylint disabling of broad except - #886

Merged
tammy-baylis-swi merged 1 commit into
mainfrom
rename-pylint-disable
Oct 5, 2026
Merged

tammy-baylis-swi merged 1 commit into
mainfrom
rename-pylint-disable

Conversation

@tammy-baylis-swi

Copy link
Copy Markdown
Contributor

Pylint broad-except was renamed to broad-exception-caught way back in version 2.16. Updates the disable so CI/CD passes again. We want the errors to continue to log without escalating.

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 review overview

🟢 Approval recommended

The focused lint-only update is correct and preserves runtime behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Updates Pylint suppressions so CI recognizes the renamed broad-exception warning while preserving existing error logging behavior.

Changes:

  • Replaces broad-except with broad-exception-caught.
  • Scopes each suppression to its corresponding except statement.
File Description
solarwinds_apm/​uams.py Updates Pylint suppressions for UAMS file and API error handling.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@tammy-baylis-swi
tammy-baylis-swi marked this pull request as ready for review October 5, 2026 22:01
@tammy-baylis-swi
tammy-baylis-swi requested review from a team as code owners October 5, 2026 22:01

@cheempz cheempz 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.

LGTM

@tammy-baylis-swi
tammy-baylis-swi merged commit 313af66 into main Oct 5, 2026
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants