From 744decf9de5f431150ccddb1a5b5d19409ba0f31 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Tue, 3 Jun 2014 11:15:21 -0400 Subject: [PATCH] STY: Normalize styles across installations via .dir-locals.el For Emacs users, set a .dir-locals.el file to define behavior during formatting operations like `fill-paragraph` Set: - Double spaces after sentences. (Which is the default.) - Fill column to 79 characters. (To match pep8 script.) - Docstrings to conform to Django formatting, since that is currently most alike to the existing docstrings. --- .dir-locals.el | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 00000000..b164fbd8 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,3 @@ +((nil . ((sentence-end-double-space . t))) + (python-mode . ((fill-column . 79) + (python-fill-docstring-style . django))))