ruff
[`FastAPI`] Update `Annotated` fixes (`FAST002`)
#15462
Merged

[`FastAPI`] Update `Annotated` fixes (`FAST002`) #15462

ntBre merged 23 commits into main from brent/fix-15043
ntBre
ntBre rename fast002 test case
3dab4497
ntBre add new test case with desired output
631f75f6
ntBre pass new tests
f65ecdb6
ntBre remove unnecessary annotation check
c0304811
ntBre move some_query_param to end because new fix adds a default value
5ed7cd62
ntBre clippy
c65c3dcd
ntBre tidy up string building a bit
86b06a95
ntBre test for python < 3.9 too
4e2d304b
ntBre generalize fix to other dependency types
aa175fe6
ntBre fix reordering of arguments with default values
48eaf556
ntBre Revert "fix reordering of arguments with default values"
40df4e8c
ntBre simplify `safe_to_update` logic
bf9486f6
ntBre use try_set_optional_fix to avoid anyhow error
7ac45130
github-actions
AlexWaygood AlexWaygood requested a review from AlexWaygood AlexWaygood 249 days ago
AlexWaygood AlexWaygood added fixes
MichaReiser MichaReiser added bug
MichaReiser
MichaReiser commented on 2025-01-14
MichaReiser
MichaReiser approved these changes on 2025-01-14
AlexWaygood AlexWaygood removed review request from AlexWaygood AlexWaygood 249 days ago
ntBre use parameter names in format
34c241a9
ntBre remove unwrap and tidy format
14fb045f
ntBre swap branches to remove negation for clippy
9ec503ba
ntBre redundant else block
e31746e2
ntBre document create_diagnostic
7ef87ea8
ntBre update other format string
3335c036
ntBre set seen_default on fix generation error
6f7a8ad5
MichaReiser
MichaReiser commented on 2025-01-14
MichaReiser
MichaReiser commented on 2025-01-15
ntBre apply patch
c931f855
ntBre clippy
ed4a0861
ntBre rename is_dep to is_route_param
7b723cf0
ntBre
MichaReiser
MichaReiser approved these changes on 2025-01-15
ntBre ntBre merged 1a77a759 into main 248 days ago
ntBre ntBre deleted the brent/fix-15043 branch 248 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone