Skip to content

Instantly share code, notes, and snippets.

View pmatos's full-sized avatar

Paulo Matos pmatos

View GitHub Profile
@BJTerry
BJTerry / python-prospector-flycheck.el
Created November 21, 2014 23:53
A flycheck checker for python with prospector
(flycheck-define-checker python-prospector
"A Python syntax and style checker using Prospector.
See URL `http://prospector.readthedocs.org/en/latest/index.html'."
:command ("prospector" "-s" "medium" "-M" "-o" "emacs"
source)
:error-patterns
((error line-start
(file-name) ":" (one-or-more digit) " :" (optional "\r") "\n"
(one-or-more " ") "L" line ":" column
(message (minimal-match (one-or-more not-newline)) "E" (one-or-more digit) (optional "\r") "\n"