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