mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:55:05 +00:00
Add Applicability
to Fix
(#4303)
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
d66ce76691
commit
cf7aa26aa4
116 changed files with 296 additions and 8 deletions
|
@ -185,6 +185,7 @@ def fibonacci(n):
|
|||
|
||||
let fib_source = SourceFileBuilder::new("fib.py", fib).finish();
|
||||
|
||||
#[allow(deprecated)]
|
||||
let unused_variable = Diagnostic::new(
|
||||
UnusedVariable {
|
||||
name: "x".to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue