You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ruff test_import.py
No pyproject.toml found.
Falling back to default configuration...
Found 1 error(s).
test_import.py:3:1: F401 `pyarrow.csv` imported but unused
1 potentially fixable with the --fix option.
The text was updated successfully, but these errors were encountered:
Thanks. It solves the problem.
Maybe it would be good to invalidate the ruff cache in the ruff binary is not the same between invocations as first I thought you pushed unrelated changes to master as the errors were the same after recompilation.
Found another one:
$ ruff test_import.py
No pyproject.toml found.
Falling back to default configuration...
Found 1 error(s).
test_import.py:3:1: F401 `numpy` imported but unused
1 potentially fixable with the --fix option.
It might be more tricky to solve as in involves type annotations in quoted strings.
Maybe it would be good to invalidate the ruff cache in the ruff binary is not the same between invocations as first I thought you pushed unrelated changes to master as the errors were the same after recompilation.
Hmm yeah. We do put the Cargo version in the cache key, so it's invalidated between releases. But I can see how this would be confusing when running against Git etc.
Inproper F401: "imported but unused" for sumodule if parent module is imported with an alias.
$ ruff test_import.py No pyproject.toml found. Falling back to default configuration... Found 1 error(s). test_import.py:3:1: F401 `pyarrow.csv` imported but unused 1 potentially fixable with the --fix option.
The text was updated successfully, but these errors were encountered: