Emacs: remove my checker
I don't like the way epylint works...
This commit is contained in:
parent
fdb9679e2d
commit
7f8b8daf4b
1 changed files with 1 additions and 14 deletions
|
@ -212,21 +212,8 @@
|
||||||
#+BEGIN_SRC emacs-lisp :tangle init2.el
|
#+BEGIN_SRC emacs-lisp :tangle init2.el
|
||||||
(eval-after-load "flycheck"
|
(eval-after-load "flycheck"
|
||||||
'(progn
|
'(progn
|
||||||
(flycheck-declare-checker python-pycheck
|
|
||||||
"Uses pycheck.sh to check for errors/warnings."
|
|
||||||
:command '("pycheck.sh" source-inplace)
|
|
||||||
:error-patterns
|
|
||||||
'(("^\\(?1:.*\\):\\(?2:[0-9]+\\): Warning (W.*): \\(?4:.*\\)$" warning)
|
|
||||||
("^\\(?1:.*\\):\\(?2:[0-9]+\\): Error (E.*): \\(?4:.*\\)$" error)
|
|
||||||
("^\\(?1:.*\\):\\(?2:[0-9]+\\): \\[F\\] \\(?4:.*\\)$" error)
|
|
||||||
("^\\(?1:.*?\\):\\(?2:[0-9]+\\):\\(?:\\(?3:[0-9]+\\):\\)? \\(?4:E[0-9]+.*\\)$" error)
|
|
||||||
("^\\(?1:.*?\\):\\(?2:[0-9]+\\):\\(?:\\(?3:[0-9]+\\):\\)? \\(?4:W[0-9]+.*\\)$" warning)
|
|
||||||
("^\\(?1:.*\\):\\(?2:[0-9]+\\): \\(?4:.*\\)$" error))
|
|
||||||
:modes 'python-mode)
|
|
||||||
|
|
||||||
(mapc (lambda (c) (delete c flycheck-checkers))
|
(mapc (lambda (c) (delete c flycheck-checkers))
|
||||||
'(python-flake8 python-pylint python-pyflakes))
|
'(python-pylint python-pyflakes))))
|
||||||
(add-to-list 'flycheck-checkers 'python-pycheck)))
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Eshell
|
** Eshell
|
||||||
|
|
Loading…
Reference in a new issue