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 | 94c8021df549b99418b3bca102c03c65924740b4 (patch) | |
tree | 36c59a8807d310562a8161d5aea9bbe6ed62c6aa /.editorconfig | |
parent | 845bd546d42afe4e701fc05ad4b581c795b5370c (diff) | |
download | python-coveragepy-git-94c8021df549b99418b3bca102c03c65924740b4.tar.gz |
An editorconfig file to help with style
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..abbba2ac --- /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 |