Skip to content

Comments

Fix lint errors#138

Merged
pontemonti merged 1 commit intomainfrom
users/johanb/FixLintError
Jan 26, 2026
Merged

Fix lint errors#138
pontemonti merged 1 commit intomainfrom
users/johanb/FixLintError

Conversation

@pontemonti
Copy link
Contributor

Refactor imports and update type hint for mock_manifest_data in test_mcp_server_configuration.py

@pontemonti pontemonti requested a review from a team as a code owner January 26, 2026 17:37
Copilot AI review requested due to automatic review settings January 26, 2026 17:37
@pontemonti pontemonti enabled auto-merge (squash) January 26, 2026 17:37
Copy link
Contributor

Copilot AI left a comment

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 fixes lint errors in the test_mcp_server_configuration.py file by refactoring imports and updating type hints to follow modern Python conventions and PEP 8 standards.

Changes:

  • Removed unused Dict import from typing module
  • Alphabetized imports within unittest.mock (AsyncMock, MagicMock, patch)
  • Reordered imports to follow PEP 8: standard library, then third-party (pytest), then local modules
  • Updated type hint from Dict[str, Any] to dict[str, Any] (modern Python 3.9+ syntax)

@pontemonti pontemonti merged commit 9b4451b into main Jan 26, 2026
14 checks passed
@pontemonti pontemonti deleted the users/johanb/FixLintError branch January 26, 2026 18:07
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