---
source: crates/ruff_linter/src/rules/pyflakes/mod.rs
snapshot_kind: text
---
F811_6.py:6:12: F811 [*] Redefinition of unused `os` from line 5
  |
4 | if i == 1:
5 |     import os
6 |     import os
  |            ^^ F811
7 | os.path
  |
  = help: Remove definition: `os`

ℹ Safe fix
3 3 | i = 2
4 4 | if i == 1:
5 5 |     import os
6   |-    import os
7 6 | os.path
