.editorconfig
author Mads Kiilerich <mads@kiilerich.com>
Sun, 27 Oct 2019 20:17:33 +0100
branchstable
changeset 43340 e0812b032bcc
parent 38293 1d6066336d7b
child 45411 c25efc468a49
permissions -rw-r--r--
packaging: make python snippets in rpm building python3 compatible Fedora 31 has Python3 at /usr/bin/python, and buildrpm would fail on snippets that use python2 syntax. Instead of forcing python2, just accept for the future while staying backwards compatible.

# 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