summary refs log tree commit diff
path: root/emacs.d/lisp/fcuny-flycheck-py.el
blob: 68a5143542f8ac4a9b9123b64d1dfb36c5ae3662 (plain) (blame)
1
2
3
4
5
6
(defun fcuny/check-source-predicate-python-p ()
  (and (executable-find "check.pex")
       (buffer-file-name)
       (string-match "src/source/.*\.py$" (buffer-file-name))))

(provide 'fcuny-flycheck-py)