.editorconfig
author Gregory Szorc <gregory.szorc@gmail.com>
Sat, 02 Mar 2019 13:07:58 -0800
changeset 41836 25694a78e4a4
parent 38281 1d6066336d7b
child 45392 c25efc468a49
permissions -rw-r--r--
encoding: use raw strings for encoding arguments This prevents the internals of Python from coercing a unicode to str on Python 2 and makes tests run with HGUNICODEPEDANTRY=1 a lot happier. Differential Revision: https://phab.mercurial-scm.org/D6051

# 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