.editorconfig
author Gregory Szorc <gregory.szorc@gmail.com>
Tue, 14 Jan 2020 17:53:43 -0800
changeset 44083 29a110e2776e
parent 38293 1d6066336d7b
child 45411 c25efc468a49
permissions -rw-r--r--
sha1dc: use proper string functions on Python 2/3 PyString_FromStringAndSize doesn't exist on Python 3: we need to use PyUnicode_FromStringAndSize. The extension now compiles without warnings on Python 2 and 3. Differential Revision: https://phab.mercurial-scm.org/D7878

# 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