diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-19 09:42:25 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-19 09:42:25 -0500 |
commit | 78f091f1bd75276b0e4cb2aec793515d46d6a469 (patch) | |
tree | d8bed6cb42738c80da35496b51bb75f0f2df06ba | |
parent | 29ef2ced664a8e3e4e87dc8c27c60d3badd4289f (diff) | |
download | python-coveragepy-78f091f1bd75276b0e4cb2aec793515d46d6a469.tar.gz |
An editorconfig file to help with style
-rw-r--r-- | .editorconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..abbba2a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,32 @@ +# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 +# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt + +# This file is for unifying the coding style for different editors and IDEs. +# More information at http://EditorConfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +max_line_length = 80 +trim_trailing_whitespace = true + +[*.py] +max_line_length = 100 + +[*.c] +max_line_length = 100 + +[*.h] +max_line_length = 100 + +[*.yml] +indent_size = 2 + +[Makefile] +indent_style = tab +indent_size = 8 |