Skip to content

Modernise types for config#19958

Open
seanbudd wants to merge 2 commits intomasterfrom
fixTypesConfig
Open

Modernise types for config#19958
seanbudd wants to merge 2 commits intomasterfrom
fixTypesConfig

Conversation

@seanbudd
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
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

Modernizes type annotations in the config module to use newer Python typing syntax and conventions.

Changes:

  • Replaced typing generics (Optional, Dict, List, etc.) with built-in generics and X | None unions.
  • Simplified class declarations (removed redundant (object)) and modernized super() usage.
  • Added/adjusted a few targeted type annotations (e.g., _writeProfileToFile params) and refreshed docstring param style.

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

Comment thread source/config/__init__.py Outdated
Comment thread source/config/__init__.py Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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