Permalink
Browse files

Safer err-line patterns

  • Loading branch information...
1 parent 8b260e6 commit 9ea8f7e60664ee8d79acf706a9b2df163030d751 @purcell committed Jan 6, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 flymake-python-pyflakes.el
@@ -23,9 +23,9 @@
(require 'flymake-easy)
(defconst flymake-python-pyflakes-err-line-patterns
- '(("^\\(.*?\\):\\([0-9]+\\): \\(.*\\)$" 1 2 nil 3)
+ '(("^\\(.*?\\.py\\):\\([0-9]+\\): \\(.*\\)$" 1 2 nil 3)
;; flake8
- ("^\\(.*?\\):\\([0-9]+\\):\\([0-9]+\\): \\(.*\\)$" 1 2 3 4)))
+ ("^\\(.*?\\.py\\):\\([0-9]+\\):\\([0-9]+\\): \\(.*\\)$" 1 2 3 4)))
(defvar flymake-python-pyflakes-executable "pyflakes"
"Pyflakes executable to use for syntax checking.")

0 comments on commit 9ea8f7e

Please sign in to comment.