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.
This commit is contained in:
Eddie Hebert
2014-06-03 11:15:21 -04:00
parent 26b2a466cf
commit 744decf9de
+3
View File
@@ -0,0 +1,3 @@
((nil . ((sentence-end-double-space . t)))
(python-mode . ((fill-column . 79)
(python-fill-docstring-style . django))))