.editorconfig
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 24 Oct 2019 15:46:16 +0200
branchstable
changeset 43327 ac33550f63e8
parent 38281 1d6066336d7b
child 45392 c25efc468a49
permissions -rw-r--r--
py3: use stdlib's parseaddr() to get sender header in notify extension In Python 3, email headers are unicode string so using stringutil.email() will not work as it compares with bytestring. So let's use email.utils.parseaddr() from the stdlib which has a consistent behavior across Python versions. The same is done in patchbomb extension already.

# See http://EditorConfig.org for the specification

root = true

[*.py]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

[*.{c,h}]
indent_size = 8
indent_style = tab
trim_trailing_whitespace = true

[*.t]
indent_size = 2
indent_style = space
trim_trailing_whitespace = false