I noticed a very specific issue where the flymake ouput is inconsistent with the ruff CLI output. This happens in particular when importing something from the repository I am working in (i.e local import):
In the first image, there is no blank line between the fastapi (third party dependency) import and the puzzler_backend import (which is from the actual repo/package I am working on. In this case, flymake gives no error (left panel and bottom right panel), however running ruff on the CLI gives an I001 error.
Conversely, if I add a blank line in between the aforementioned two imports, flymake complains there is an error, whilst the CLI says that there is no I001 error:
I am running the following:
ruff 0.6.9
flymake-ruff (commit hash 17a8345)
Emacs 30 (via emacs-plus)
Poetry to manage my dependencies (although I think this should not matter?)
Hi, thanks for the detailed report, unfortunately I wasn't able to reproduce the bug, I'm using ruff=0.7.0, maybe can you give a try that version. I have it installed from homebrew
Hi,
I noticed a very specific issue where the flymake ouput is inconsistent with the
ruff
CLI output. This happens in particular when importing something from the repository I am working in (i.e local import):In the first image, there is no blank line between the
fastapi
(third party dependency) import and thepuzzler_backend
import (which is from the actual repo/package I am working on. In this case, flymake gives no error (left panel and bottom right panel), however runningruff
on the CLI gives anI001
error.Conversely, if I add a blank line in between the aforementioned two imports, flymake complains there is an error, whilst the CLI says that there is no
I001
error:I am running the following: