Skip to content

Commit

Permalink
Commit missing snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Oct 5, 2023
1 parent b6e3a9a commit e739592
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
source: crates/ruff_linter/src/message/grouped.rs
expression: content
---
fib.py:
1:8 F401 [*] `os` imported but unused
|
1 | import os
| ^^ F401
|
= help: Remove unused import: `os`

6:5 F841 [*] Local variable `x` is assigned to but never used
|
4 | def fibonacci(n):
5 | """Compute the nth number in the Fibonacci sequence."""
6 | x = 1
| ^ F841
7 | if n == 0:
8 | return 0
|
= help: Remove assignment to unused variable `x`

undef.py:
1:4 F821 Undefined name `a`
|
1 | if a == 1: pass
| ^ F821
|


0 comments on commit e739592

Please sign in to comment.