.editorconfig
author Gregory Szorc <gregory.szorc@gmail.com>
Wed, 30 Jan 2019 13:34:47 -0800
changeset 41488 e971952db109
parent 38293 1d6066336d7b
child 45411 c25efc468a49
permissions -rw-r--r--
tests: cast division result to int Otherwise it is a float on Python 3 and code later compares about casting a float to an int. Differential Revision: https://phab.mercurial-scm.org/D5759

# 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