| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | root = true |
| 4 | |
| 5 | [{*.{awk,c,dts,dtsi,dtso,h,mk,s,S},Kconfig,Makefile,Makefile.*}] |
| 6 | charset = utf-8 |
| 7 | end_of_line = lf |
| 8 | insert_final_newline = true |
| 9 | indent_style = tab |
| 10 | indent_size = 8 |
| 11 | |
| 12 | [*.{json,py,rs}] |
| 13 | charset = utf-8 |
| 14 | end_of_line = lf |
| 15 | insert_final_newline = true |
| 16 | indent_style = space |
| 17 | indent_size = 4 |
| 18 | |
| 19 | # this must be below the general *.py to overwrite it |
| 20 | [tools/{perf,power,rcu,testing/kunit}/**.py,] |
| 21 | indent_style = tab |
| 22 | indent_size = 8 |
| 23 | |
| 24 | [*.yaml] |
| 25 | charset = utf-8 |
| 26 | end_of_line = lf |
| 27 | insert_final_newline = true |
| 28 | indent_style = space |
| 29 | indent_size = 2 |