Environments
$ uname -a
Linux example 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ python --version
Python 3.11.2
$ ruff --version
ruff 0.0.254
What's happened?
I want to fix the following code.
import pandas
import pandas
df = pandas.Series(["a", "b", "c"])
But ruff did not fix line 1.
$ ruff sample.py --fix --isolated
sample.py:2:8: F811 Redefinition of unused `pandas` from line 1
Found 1 error.
What do I expect?
I expect that ruff fix F811 error.
Environments
What's happened?
I want to fix the following code.
But ruff did not fix line 1.
What do I expect?
I expect that ruff fix
F811error.