mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
[FastAPI
] Stabilize fast-api-unused-path-parameter
(FAST003
) (#16625)
## Summary Stabilizes FAST003, completing the group with FAST001 and FAST002. ## Test Plan Last bug fix (false positive) was fixed on 2025-01-13, almost 2 months ago. The test case was already in the right place.
This commit is contained in:
parent
ed4152dec6
commit
5285e3fcbc
1 changed files with 1 additions and 1 deletions
|
@ -950,7 +950,7 @@ pub fn code_to_rule(linter: Linter, code: &str) -> Option<(RuleGroup, Rule)> {
|
|||
// fastapi
|
||||
(FastApi, "001") => (RuleGroup::Stable, rules::fastapi::rules::FastApiRedundantResponseModel),
|
||||
(FastApi, "002") => (RuleGroup::Stable, rules::fastapi::rules::FastApiNonAnnotatedDependency),
|
||||
(FastApi, "003") => (RuleGroup::Preview, rules::fastapi::rules::FastApiUnusedPathParameter),
|
||||
(FastApi, "003") => (RuleGroup::Stable, rules::fastapi::rules::FastApiUnusedPathParameter),
|
||||
|
||||
// pydoclint
|
||||
(Pydoclint, "201") => (RuleGroup::Preview, rules::pydoclint::rules::DocstringMissingReturns),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue