Gyorgy Szing | 5e429cb | 2019-12-03 20:39:55 +0100 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2019-2020, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | # Trusted Firmware-A CMake Framework Coding Style spec for editors. |
| 8 | |
| 9 | # References: |
| 10 | # [EC] http://editorconfig.org/ |
| 11 | # [CONT] contributing.rst |
| 12 | |
| 13 | root = true |
| 14 | |
| 15 | #CMake specific settings |
| 16 | [*.cmake] |
| 17 | charset = utf-8 |
| 18 | end_of_line = lf |
| 19 | indent_size = 4 |
| 20 | indent_style = tab |
| 21 | insert_final_newline = false |
| 22 | max_line_length = 128 |
| 23 | trim_trailing_whitespace = true |
| 24 | |
| 25 | #Documentation |
| 26 | [*.{rst,md}] |
| 27 | charset = utf-8 |
| 28 | end_of_line = lf |
| 29 | indent_size = 2 |
| 30 | indent_style = space |
| 31 | insert_final_newline = false |
| 32 | max_line_length = 128 |
| 33 | tab_width = 4 |
| 34 | trim_trailing_whitespace = true |
| 35 | |
| 36 | # Python code |
| 37 | [*.py] |
| 38 | charset = utf-8 |
| 39 | end_of_line = lf |
| 40 | indent_style = space |
| 41 | indent_size = 2 |
| 42 | insert_final_newline = false |
| 43 | max_line_length = 180 |
| 44 | tab_width = 4 |
| 45 | trim_trailing_whitespace = true |