NonGNU ELPA - flymake-pyrefly

flymake-pyrefly Atom Feed

Description
A Pyrefly Flymake backend
Latest
flymake-pyrefly-0.1.8.tar (.sig), 2025-Oct-07, 60.0 KiB
Maintainer
Boris Shminke <boris@shminke.com>
Website
https://github.com/inpefess/flymake-pyrefly
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

flymake-pyrefly.svg

1. flymake-pyrefly

Pyrefly is a fast Python type checker written in Rust. flymake-pyrefly is a Pyrefly backend for Flymake that helps you to see typing errors in your Python files.

2. How to install

flymake-pyrefly is available on nonGNU Emacs Lisp Package Archive, so you can install it by M-x package-install RET flymake-pyrefly RET.

To add flymake-pyrefly to the list of Flymake backends when editing Python files (notice the difference if you use eglot):

(add-hook 'python-base-mode-hook #'pyrefly-setup-flymake-backend)

;; alternatively, with use-package
(use-package flymake-pyrefly
  :hook (python-base-mode . pyrefly-setup-flymake-backend))

;; or if you use eglot
(add-hook 'eglot-managed-mode-hook #'pyrefly-setup-flymake-backend)

;; if you use eglot and use-package
(use-package flymake-pyrefly
  :hook (eglot-managed-mode . pyrefly-setup-flymake-backend))

If Pyrefly binary is not visible from current Python virtual environment, you can set it through the interface M-x customize-variable RET flymake-pyrefly-binary-file RET.

Old versions

flymake-pyrefly-0.1.7.tar.lz2025-Sep-0713.9 KiB
flymake-pyrefly-0.1.6.tar.lz2025-Aug-0613.7 KiB
flymake-pyrefly-0.1.4.tar.lz2025-Aug-0413.3 KiB