diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/core/core-flycheck.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs.d/core/core-flycheck.el b/emacs.d/core/core-flycheck.el index 9c64bb1..7118f83 100644 --- a/emacs.d/core/core-flycheck.el +++ b/emacs.d/core/core-flycheck.el @@ -17,7 +17,8 @@ :command ("check.pex" source) ;;; errors are reported like this: ;;; E241:ERROR <file name>:<line> <message> - :error-patterns ((error line-start (1+ nonl) ":ERROR" (1+ nonl) ":" line (message) line-end)) + :error-patterns ((error line-start (id (1+ nonl)) ":ERROR" (1+ nonl) ":" line (message) line-end) + (warning line-start (id (1+ nonl)) ":WARNING" (1+ nonl) ":" line (message) line-end)) :predicate check-source-predicate :modes (python-mode)) (add-to-list 'flycheck-checkers 'source-check))) |