summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-03 14:42:52 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-03 14:42:52 -0800
commit81ccc83ecc008b6d2be04f181b3a1ec7375a77d6 (patch)
treed4678058db613802df0ada60cbdcc91c6471cc8c /emacs
parentpython: no more aurora files :) (diff)
downloademacs.d-81ccc83ecc008b6d2be04f181b3a1ec7375a77d6.tar.gz
twitter: remove pants checker/change work-machine
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-defuns.el13
1 files changed, 1 insertions, 12 deletions
diff --git a/emacs/custom/fcuny-defuns.el b/emacs/custom/fcuny-defuns.el
index 48a9d97..974d8c8 100644
--- a/emacs/custom/fcuny-defuns.el
+++ b/emacs/custom/fcuny-defuns.el
@@ -13,18 +13,7 @@
 
 (defun fcuny/check-work-machine-p ()
   "Returns t if this is a work machine"
-  (string-match "tw-mbp.*" (system-name)))
-
-(defun fcuny/build-python-checker ()
-  "Compiles a newer version of the checker for Python."
-  (interactive)
-  (let ((output (make-temp-file "checker-foo"))
-        (errors (make-temp-file "checker-errors"))
-        (default-directory "~/workspace/source"))
-    (let ((status (call-process "~/workspace/source/pants" nil `(,output ,errors) nil "-q" "binary" "src/python/twitter/devprod/checkstyle:check")))
-      (if (zerop status)
-          (message "Built check.pex successfully")
-        (message (buffer-file-name output))))))
+  (string-match "HQ\\.*" (system-name)))
 
 ;; from https://karl-voit.at/2014/08/10/bookmarks-with-orgmode/
 (defun fcuny/string-replace (this withthat in)