From 88ab401adc83bea6e1f571c54093dbc7f521e080 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 4 Jan 2021 19:52:04 -0800 Subject: emacs: rename the directory --- emacs/lisp/fcuny-flycheck-py.el | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 emacs/lisp/fcuny-flycheck-py.el (limited to 'emacs/lisp/fcuny-flycheck-py.el') diff --git a/emacs/lisp/fcuny-flycheck-py.el b/emacs/lisp/fcuny-flycheck-py.el new file mode 100644 index 0000000..68a5143 --- /dev/null +++ b/emacs/lisp/fcuny-flycheck-py.el @@ -0,0 +1,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) -- cgit 1.4.1