Skip to content

Commit

Permalink
STY: Normalize styles across installations via .dir-locals.el
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Eddie Hebert committed Jun 4, 2014
1 parent 26b2a46 commit 744decf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
((nil . ((sentence-end-double-space . t)))
(python-mode . ((fill-column . 79)
(python-fill-docstring-style . django))))

0 comments on commit 744decf

Please sign in to comment.