This repository was archived by the owner on Dec 24, 2025. It is now read-only.
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the documentation tooling and modernizes Python type annotations and code formatting across the flet-webview project.
Key changes include:
- Modernized Python type annotations from
typing.Listtolistand updated event handler type definitions - Enhanced documentation configuration with updated dependencies and improved docstring handling
- Updated development tooling including flutter_lints upgrade, ruff configuration, and pre-commit hooks
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/flutter/flet_webview/pubspec.yaml | Updates flutter_lints from v2.0.0 to v3.0.0 |
| src/flet_webview/webview.py | Modernizes type annotations, improves documentation formatting, and refactors method calls |
| src/flet_webview/types.py | Updates event class type parameters and adds proper forward references |
| src/flet_webview/init.py | Adds explicit all list for better module exports |
| pyproject.toml | Reorganizes dependency groups and updates documentation dependencies |
| mkdocs.yml | Updates documentation configuration with new plugins and improved settings |
| docs/types/*.md | Adds signature separation options for type documentation |
| .pre-commit-config.yaml | Replaces black/isort with ruff tooling and adds additional hooks |
| .github/workflows/docs.yml | Includes dev branch in documentation deployment and adds lint dependencies |
Comments suppressed due to low confidence (1)
src/flutter/flet_webview/pubspec.yaml:33
- flutter_lints version ^3.0.0 may not exist. As of January 2025, the latest stable version was 2.x. Please verify this version exists before updating.
flutter_lints: ^3.0.0
FeodorFitsner
approved these changes
Jul 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.