8000 GitHub - skangas/flymake-ruff: flymake plugin for ruff linter
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

skangas/flymake-ruff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flymake-ruff

MELPA

Flymake plugin to run a linter for python buffers using ruff

Installation

Cloning the repo

Clone this repo somewhere, and add this to your config:

(add-to-list 'load-path "path where the repo was cloned")

(require 'flymake-ruff)
(add-hook 'python-mode-hook #'flymake-ruff-load)

Using use-package

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

Using straight.el

(use-package flymake-ruff
  :straight (flymake-ruff
             :type git
             :host github
             :repo "erickgnavar/flymake-ruff"))

Using flymake-ruff with eglot

To use flymake-ruff together with eglot, you should add flymake-ruff-load to eglot-managed-mode-hook instead. For example:

(add-hook 'eglot-managed-mode-hook 'flymake-ruff-load)

Or, if you use use-package:

(use-package flymake-ruff
  :ensure t
  :hook (eglot-managed-mode . flymake-ruff-load))

About

flymake plugin for ruff linter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%
0