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