Skip to content

Instantly share code, notes, and snippets.

View dsedivec's full-sized avatar

Dale Sedivec dsedivec

View GitHub Profile
@dsedivec
dsedivec / flycheck-ruff.el
Last active July 10, 2024 07:09 — forked from abo-abo/flycheck-ruff.el
Emacs ruff flycheck config
(require 'flycheck)
;; From https://github.com/flycheck/flycheck/issues/1974#issuecomment-1343495202
(flycheck-define-checker python-ruff
"A Python syntax and style checker using the ruff utility.
To override the path to the ruff executable, set
`flycheck-python-ruff-executable'.
See URL `http://pypi.python.org/pypi/ruff'."
:command ("ruff"
"check"