Skip to content

flymake-ruff not reporting the issues from ruff check if wrong identation #34

@pmercatoris

Description

@pmercatoris
~ ❯ emacs --version
GNU Emacs 30.2
Copyright (C) 2025 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

~ ❯ ruff --version
ruff 0.13.1

~/minimal-debug.el:

(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))
(require 'use-package)

(use-package flymake
  :ensure nil
  :hook (prog-mode . flymake-mode))


(use-package flymake-ruff
  :ensure t
  :hook (python-mode . flymake-ruff-load)
  )
Image

when adding a symbol at the wrong place in the buffer, it just doesn't report anything anymore, even though ruff check reports everything.

Image

again here with wrong indentation

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions