.editorconfig
author Martijn Pieters <mj@zopatista.com>
Wed, 01 Aug 2018 16:05:41 +0200
changeset 38837 8751d1e2a7ff
parent 38293 1d6066336d7b
child 45411 c25efc468a49
permissions -rw-r--r--
util: create a context manager to handle timing The context manager is pulled out of the timed decorator function, and refactored to provide a stats instance, with added tests.

# 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