-
Notifications
You must be signed in to change notification settings - Fork 1
fix(docs): update #7
Conversation
There was a problem hiding this 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 and updates the documentation infrastructure and improves code quality across the flet_map package. The changes modernize type annotations, enhance documentation tooling, and fix various issues in the codebase.
- Updates type annotations from legacy Python style to modern syntax (e.g.,
List[T]→list[T]) - Modernizes documentation configuration with better tooling and validation
- Fixes various documentation references and formatting issues throughout the codebase
Reviewed Changes
Copilot reviewed 22 out of 23 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/flutter/flet_map/pubspec.yaml | Updates flutter_lints dependency from ^2.0.0 to ^3.0.0 |
| src/flet_map/types.py | Modernizes type annotations, fixes docstring formatting, and improves error messages |
| src/flet_map/tile_layer.py | Updates type annotations and improves assertion error messages |
| src/flet_map/source_attribution.py | Modernizes type annotations and fixes docstring formatting |
| src/flet_map/simple_attribution.py | Updates type annotations and fixes alignment reference |
| src/flet_map/rich_attribution.py | Updates type annotations and improves docstring formatting |
| src/flet_map/polyline_layer.py | Updates type annotations and improves assertion error messages |
| src/flet_map/polygon_layer.py | Updates type annotations and improves assertion error messages |
| src/flet_map/marker_layer.py | Updates type annotations and improves assertion error messages |
| src/flet_map/map.py | Updates type annotations, improves docstring formatting, and fixes method calls |
| src/flet_map/circle_layer.py | Updates type annotations and improves assertion error messages |
| src/flet_map/init.py | Adds comprehensive all list for proper module exports |
| pyproject.toml | Updates documentation and development dependencies with version constraints |
| mkdocs.yml | Modernizes documentation configuration with new plugins and settings |
| docs/types/*.md | Adds separate_signature: false option to enum documentation |
| .pre-commit-config.yaml | Updates pre-commit hooks to use ruff instead of isort/black |
| .github/workflows/docs.yml | Updates documentation workflow to include dev branch and lint group |
| "TileDisplay", | ||
| "InstantaneousTileDisplay", | ||
| "FadeInTileDisplay", | ||
| "KeyboardConfiguration", | ||
| "CursorRotationBehaviour", | ||
| "CursorKeyboardRotationConfiguration", | ||
| "TileLayerEvictErrorTileStrategy", |
Copilot
AI
Jul 27, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The all list is being alphabetically sorted, but "TileLayerEvictErrorTileStrategy" appears at the end instead of its alphabetical position. It should be placed after "StrokePattern" and before the end to maintain consistent alphabetical ordering.
No description provided.