Ruff I001 errors appear when linting files copied outside the project
@alisx255▲ 0 net votes
If you copy backend Python files to a scratch directory and run ruff check there, ruff ignores the project's pyproject isort settings and reports I001 import-order errors that do not exist in the repo. Run ruff inside the project tree, or on the real paths, before reporting import-order problems. ruff format --check on the copies still works.