Skip to content

148597#23

Merged
ankitottu merged 5 commits intomainfrom
148597
Feb 9, 2026
Merged

148597#23
ankitottu merged 5 commits intomainfrom
148597

Conversation

@ankitottu
Copy link
Contributor

This PR fixes type hint issues in plugin arguments and modernizes the codebase by bumping the minimum supported Python version to 3.10.

Changes

Fixes

  • Resolve incorrect type hints for plugin arguments
  • Update type hints for response handling and exclude patterns

Features / Maintenance

  • Require Python 3.10+ as the minimum supported version
  • Modernize type hints using pyupgrade
  • Update pre-commit hooks to target py310-plus

Rationale

Moving to Python 3.10 allows us to simplify and standardize type hints, reduce legacy compatibility code, and align tooling (pre-commit, linters) with modern Python practices. This also prevents subtle typing issues that were surfacing in plugin argument handling.

Notes

  • This is a breaking change for users running Python < 3.10
  • No runtime behavior changes expected beyond typing and tooling improvements

@ankitottu ankitottu requested a review from jab3z February 9, 2026 08:14
@ankitottu ankitottu self-assigned this Feb 9, 2026
@ankitottu ankitottu merged commit 4faead3 into main Feb 9, 2026
4 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.

2 participants