Skip to content

Instantly share code, notes, and snippets.

@witsch
Created September 25, 2011 13:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save witsch/1240583 to your computer and use it in GitHub Desktop.
Save witsch/1240583 to your computer and use it in GitHub Desktop.
Configuration file for PythonTidy
<config>
<parm name="COL_LIMIT" value="int(79)" />
<parm name="SHEBANG" value="" />
<parm name="PARENTHESIZE_TUPLE_DISPLAY" value="bool(False)" />
<parm name="ADD_BLANK_LINES_AROUND_COMMENTS" value="bool(False)" />
<parm name="ADD_BLANK_LINE_AFTER_DOC_STRING" value="bool(False)" />
<parm name="MAX_SEPS_FUNC_DEF" value="int(99)" />
<parm name="MAX_SEPS_FUNC_REF" value="int(99)" />
<parm name="WRAP_DOC_STRINGS" value="bool(True)" />
<parm name="NORMALIZE_DOC_STRINGS" value="bool(True)" />
</config>
@witsch
Copy link
Author

witsch commented Sep 25, 2011

This can be used with http://pypi.python.org/pypi/PythonTidy/, or alternatively the easy-installable fork available at https://github.com/witsch/PythonTidy

Copy link

ghost commented May 4, 2013

Install with:

pip install https://github.com/witsch/PythonTidy/archive/master.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment