| # |
| # Copyright (c) 2019-2020, Arm Limited and Contributors. All rights reserved. |
| # |
| # SPDX-License-Identifier: BSD-3-Clause |
| # |
| |
| # Trusted Firmware-A CMake Framework Coding Style spec for editors. |
| |
| # References: |
| # [EC] http://editorconfig.org/ |
| # [CONT] contributing.rst |
| |
| root = true |
| |
| #CMake specific settings |
| [*.cmake] |
| charset = utf-8 |
| end_of_line = lf |
| indent_size = 4 |
| indent_style = tab |
| insert_final_newline = false |
| max_line_length = 128 |
| trim_trailing_whitespace = true |
| |
| #Documentation |
| [*.{rst,md}] |
| charset = utf-8 |
| end_of_line = lf |
| indent_size = 2 |
| indent_style = space |
| insert_final_newline = false |
| max_line_length = 128 |
| tab_width = 4 |
| trim_trailing_whitespace = true |
| |
| # Python code |
| [*.py] |
| charset = utf-8 |
| end_of_line = lf |
| indent_style = space |
| indent_size = 2 |
| insert_final_newline = false |
| max_line_length = 180 |
| tab_width = 4 |
| trim_trailing_whitespace = true |