tflite-micro/.editorconfig
Ryan Kuester c5ee80cc37
chore(editorconfig): add max_line_length for python files (#3225)
Set max_line_length to 79 for Python files to match PEP 8 and the
project's yapf configuration.

Co-authored-by: Esun Kim <veblush@google.com>
2025-10-17 10:00:56 -07:00

30 lines
689 B
INI

# Define the project's code formatting styles
#
# https://editorconfig.org
#
# EditorConfig is a file format for defining coding styles. EditorConfig is
# natively supported by VisualStudio, GitHub, Neovim, etc.
[*]
# Unix-style newlines and a newline ending in every file
end_of_line = lf
insert_final_newline = true
[*.{cc,h}]
# https://google.github.io/styleguide/cppguide.html
indent_style = space
indent_size = 2
[*.py]
# https://google.github.io/styleguide/pyguide.html but 2-space indent
indent_style = space
indent_size = 2
max_line_length = 79
[WORKSPACE,BUILD,*.bzl]
# https://bazel.build/build/style-guide
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab