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