erickgnavar / flymake-ruff

flymake plugin for ruff linter
GNU General Public License v3.0
37 stars 6 forks source link

Cant integrate ruff with doom emacs: cant see any ruff errors #12

Closed HappyCthulhu closed 10 months ago

HappyCthulhu commented 11 months ago

Hi! Im new to emacs, but im very obsessed with idea integrate ruff to it.

Here's what I did for the setup:

  1. I added the following code to config.el:

    (use-package flymake-ruff
    :ensure t
    :hook (python-mode . flymake-ruff-load))
  2. I added to packages.el:

    (package! flymake-ruff)

I restarted doom emacs. Of course, Ruff is present in the PATH. However, I don't see any Ruff errors in the Python code. What am I doing wrong? The only confirmation of the plugin's work: after pressing M-x, I see the command flymake-ruff-load.

Enviropment:

[I] valera@t-t14 ~> emacs --version
GNU Emacs 29.1
valera@t-t14
OS: Manjaro Linux x86_64
Kernel: 6.1.62-1-MANJARO
WM: i3

I would be grateful for a response! Sorry in advance if the question is silly.

erickgnavar commented 10 months ago

There was a bug, it was fixed by 8fbc83b, the problem was only for buffers that don't belong to a project